diff --git a/drivers/flash/Kconfig b/drivers/flash/Kconfig index 7d8a66972b0..cf8058ecf7e 100644 --- a/drivers/flash/Kconfig +++ b/drivers/flash/Kconfig @@ -66,17 +66,7 @@ config SOC_FLASH_NRF_UICR Enable operations on UICR. Once enabled UICR are written or read as ordinary flash memory. Erase is possible for whole UICR at once. -config SOC_FLASH_MCUX - bool "MCUX flash shim driver" - depends on HAS_MCUX - select FLASH_HAS_PAGE_LAYOUT - select FLASH_HAS_DRIVER_ENABLED - help - Enables the MCUX flash shim driver. - WARNING: This driver will disable the system interrupts for - the duration of the flash erase/write operations. This will - have an impact on the overall system performance - whether - this is acceptable or not will depend on the use case. +source "drivers/flash/Kconfig.mcux" source "drivers/flash/Kconfig.nios2_qspi" diff --git a/drivers/flash/Kconfig.mcux b/drivers/flash/Kconfig.mcux new file mode 100644 index 00000000000..68e233da5c7 --- /dev/null +++ b/drivers/flash/Kconfig.mcux @@ -0,0 +1,11 @@ +config SOC_FLASH_MCUX + bool "MCUX flash shim driver" + depends on HAS_MCUX + select FLASH_HAS_PAGE_LAYOUT + select FLASH_HAS_DRIVER_ENABLED + help + Enables the MCUX flash shim driver. + WARNING: This driver will disable the system interrupts for + the duration of the flash erase/write operations. This will + have an impact on the overall system performance - whether + this is acceptable or not will depend on the use case.