Skip to content

Commit f69fcdf

Browse files
gautierg-stkartben
authored andcommitted
drivers: flash: stm32: remove dependeny on XIP for memory map
Remove XIP dependency for enabling memory mapping for Q/O/XSPI NOR Flash. It is not necessary and is preventing configuring an external Flash in memmap mode if there is no internal Flash (like on STM32N6) Signed-off-by: Guillaume Gautier <[email protected]>
1 parent bbad01e commit f69fcdf

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

drivers/flash/Kconfig.stm32

+5-6
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
# SPDX-License-Identifier: Apache-2.0
88

99
config STM32_MEMMAP
10-
bool "NOR Flash in MemoryMapped for XiP"
11-
depends on XIP && \
12-
(DT_HAS_ST_STM32_OSPI_NOR_ENABLED || \
13-
DT_HAS_ST_STM32_QSPI_NOR_ENABLED || \
14-
DT_HAS_ST_STM32_XSPI_NOR_ENABLED)
10+
bool "NOR Flash in MemoryMapped"
11+
depends on DT_HAS_ST_STM32_QSPI_NOR_ENABLED || \
12+
DT_HAS_ST_STM32_OSPI_NOR_ENABLED || \
13+
DT_HAS_ST_STM32_XSPI_NOR_ENABLED
1514
help
16-
This option enables the XIP mode for the external NOR flash
15+
This option enables the MemoryMapped mode for the external NOR flash
1716
mounted on STM32 boards.
1817

1918
menuconfig SOC_FLASH_STM32

0 commit comments

Comments
 (0)