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:
Sreeram Tatapudi 2023-05-08 21:07:30 -07:00 committed by Fabio Baltieri
parent e461b6e09e
commit 861a7639ab

View file

@ -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