Skip to content

Commit

Permalink
arch/arm64/imx9 4byte addressing to nor
Browse files Browse the repository at this point in the history
-Use 4byte addressing in flexpi nor
-report 4k blocksize to userland
-increase clock to 100MHz
-some cleanup

Signed-off-by: Jouni Ukkonen <[email protected]>
  • Loading branch information
joukkone authored and jlaitine committed Nov 7, 2024
1 parent 4a6548e commit 043d3c1
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 107 deletions.
4 changes: 2 additions & 2 deletions arch/arm64/src/imx9/imx9_flexspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1235,9 +1235,9 @@ struct flexspi_dev_s *imx9_flexspi_initialize(int intf)

imx9_ccm_gate_on(CCM_LPCG_FLEXSPI1, true);

/* Configure clock to safe 50MHz, src clock is 800Mhz */
/* Configure clock to safe 100MHz, src clock is 800Mhz */

imx9_ccm_configure_root_clock(CCM_CR_FLEXSPI1, SYS_PLL1PFD1, 16);
imx9_ccm_configure_root_clock(CCM_CR_FLEXSPI1, SYS_PLL1PFD1, 8);

/* Has the FlexSPI hardware been initialized? */

Expand Down
Loading

0 comments on commit 043d3c1

Please sign in to comment.