drivers: flash: Fix kconfig dependency
- Update KCONFIG for flash driver to depend on DT_HAS_FIXED_PARTITIONS_ENABLED, since that is necessary for the driver implementation Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
This commit is contained in:
parent
e461b6e09e
commit
861a7639ab
|
@ -8,7 +8,7 @@
|
|||
config FLASH_INFINEON_CAT1
|
||||
bool "Infineon CAT1 FLASH driver"
|
||||
default y
|
||||
depends on DT_HAS_INFINEON_CAT1_FLASH_CONTROLLER_ENABLED
|
||||
depends on DT_HAS_INFINEON_CAT1_FLASH_CONTROLLER_ENABLED && DT_HAS_FIXED_PARTITIONS_ENABLED
|
||||
select FLASH_HAS_PAGE_LAYOUT
|
||||
select FLASH_HAS_DRIVER_ENABLED
|
||||
select USE_INFINEON_FLASH
|
||||
|
|
Loading…
Reference in a new issue