Skip to content

Commit

Permalink
init sequence not working when u-boot configures QSPI for AHB reads (z…
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadatko authored Feb 3, 2021
1 parent 466a039 commit 6b59572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/qspi/fsl_qspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ void QSPI_SoftwareReset(QuadSPI_Type *base)

/* Reset AHB domain and buffer domian */
base->MCR |= (QuadSPI_MCR_SWRSTHD_MASK | QuadSPI_MCR_SWRSTSD_MASK);
base->BFGENCR = 0;

/* Wait several time for the reset to finish, this method came from IC team */
for (i = 0; i < 100U; i++)
Expand Down

0 comments on commit 6b59572

Please sign in to comment.