Skip to content

Commit

Permalink
soc: imxrtxxx: Fix flexspi boot issue
Browse files Browse the repository at this point in the history
FCB was being relocated to the wrong location, and the flexspi clock
setup was not being relocated.

Signed-off-by: Declan Snyder <[email protected]>
  • Loading branch information
decsny authored and dleach02 committed Aug 25, 2024
1 parent 746ddcc commit 5f54143
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions soc/nxp/imxrt/imxrt5xx/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

if SOC_MIMXRT595S_CM33

config FLEXSPI_CONFIG_BLOCK_OFFSET
default 0x400

config CODE_DATA_RELOCATION_SRAM
default y if FLASH_MCUX_FLEXSPI_XIP

config ROM_START_OFFSET
default 0x1200 if NXP_IMXRT_BOOT_HEADER

Expand Down
6 changes: 6 additions & 0 deletions soc/nxp/imxrt/imxrt6xx/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ endif # SOC_SERIES_MIMXRT6XX

if SOC_MIMXRT685S_CM33

config FLEXSPI_CONFIG_BLOCK_OFFSET
default 0x400

config CODE_DATA_RELOCATION_SRAM
default y if FLASH_MCUX_FLEXSPI_XIP

config ROM_START_OFFSET
default 0x1200 if NXP_IMXRT_BOOT_HEADER

Expand Down

0 comments on commit 5f54143

Please sign in to comment.