Skip to content

Commit b5551d0

Browse files
MaureenHelmgalak
authored andcommitted
soc: boards: Reserve space for the imx boot header at the soc level
Moves the default TEXT_SECTION_OFFSET from the board level to the soc level for the imx rt series. This offset is used to reserve space for the imx boot header for external xip flash images. Signed-off-by: Maureen Helm <[email protected]>
1 parent 8e30049 commit b5551d0

File tree

4 files changed

+3
-24
lines changed

4 files changed

+3
-24
lines changed

boards/arm/mimxrt1020_evk/Kconfig.defconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,4 @@ config UART_MCUX_LPUART_1
2727

2828
endif # UART_MCUX_LPUART
2929

30-
if CODE_QSPI
31-
32-
# Reserve space for the IVT
33-
config TEXT_SECTION_OFFSET
34-
default 0x2000
35-
36-
endif
37-
3830
endif # BOARD_MIMXRT1020_EVK

boards/arm/mimxrt1050_evk/Kconfig.defconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ config UART_MCUX_LPUART_3
4646

4747
endif # UART_MCUX_LPUART
4848

49-
if CODE_HYPERFLASH || CODE_QSPI
50-
51-
# Reserve space for the IVT
52-
config TEXT_SECTION_OFFSET
53-
default 0x2000
54-
55-
endif
56-
5749
if NETWORKING
5850

5951
config NET_L2_ETHERNET

boards/arm/mimxrt1060_evk/Kconfig.defconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,4 @@ config UART_MCUX_LPUART_1
2828

2929
endif # UART_MCUX_LPUART
3030

31-
if CODE_HYPERFLASH || CODE_QSPI
32-
33-
# Reserve space for the IVT
34-
config TEXT_SECTION_OFFSET
35-
default 0x2000
36-
37-
endif
38-
3931
endif # BOARD_MIMXRT1060_EVK || BOARD_MIMXRT1060_EVK_HYPERFLASH

soc/arm/nxp_imx/rt/Kconfig.defconfig.series

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ config NUM_IRQS
1515
# must be >= the highest interrupt number used
1616
default 160
1717

18+
config TEXT_SECTION_OFFSET
19+
default 0x2000 if BOOT_FLEXSPI_NOR || BOOT_SEMC_NOR
20+
1821
source "soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt*"
1922

2023
endif # SOC_SERIES_IMX_RT

0 commit comments

Comments
 (0)