Skip to content

Commit 4ccc671

Browse files
committed
drivers: flash: stm32 flash driver has a STM32_XIP config
This CONFIG_STM32_XIP is for enabling the MemoryMapped mode on external octo or quad spi memory. Signed-off-by: Francois Ramu <[email protected]>
1 parent 07ece0c commit 4ccc671

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/flash/Kconfig.stm32

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,11 @@ config FLASH_STM32_BLOCK_REGISTERS
7070
registers improves system security, because flash content (or
7171
protection settings) can't be changed even when exploit was found.
7272

73+
config STM32_XIP
74+
bool "NOR Flash in MemoryMapped for XiP"
75+
depends on XIP
76+
help
77+
This option enables the XIP mode for the external NOR flash
78+
mounted on STM32 boards.
79+
7380
endif # SOC_FLASH_STM32

0 commit comments

Comments
 (0)