kconfig: flash: Move mcux code into it's own file
Cleanup the Kconfig code for the flash driver. Platform-specific options should be in their own Kconfig files to be consistent and to not pollute the common configuration. To this end we move the mcux options into it's own file. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
ae846dce75
commit
1f27a456cd
|
@ -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"
|
||||
|
||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue