]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: kconfig: Fix CFI_FLASH dependency
authorBin Meng <bmeng.cn@gmail.com>
Sat, 7 Aug 2021 05:00:00 +0000 (13:00 +0800)
committerStefan Roese <sr@denx.de>
Wed, 11 Aug 2021 08:36:10 +0000 (10:36 +0200)
commit8fff9e335d08a8a901e66e75e99aa2f0091527b1
treea063524162de22d9e1ea44b8ce8fb0eef2c17a0c
parent3e5b62f78888740530e6f3a2e989f4c361a9d52b
mtd: kconfig: Fix CFI_FLASH dependency

The DM version CFI flash driver is in driver/mtd/cfi_flash.c, which
only gets built when FLASH_CFI_DRIVER is on. If CFI_FLASH is on but
FLASH_CFI_DRIVER is not, nothing is enabled at all.

Fix this dependency by selecting FLASH_CFI_DRIVER when CFI_FLASH is
enabled.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/mtd/Kconfig