]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: cfi: change CONFIG_SYS_MAX_FLASH_BANKS_DETECT as boolean
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 4 Jan 2022 13:23:59 +0000 (14:23 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jan 2022 19:01:35 +0000 (14:01 -0500)
commit144fef87df7cf29b1ce772a73009e7c16908812b
tree302ae270518ee8c9c987e654536420085737048a
parent98150e7e8c78b851a7710e18b156f279f8485cbe
mtd: cfi: change CONFIG_SYS_MAX_FLASH_BANKS_DETECT as boolean

Prepare migration to Kconfig.

CONFIG_SYS_MAX_FLASH_BANKS_DETECT becomes boolean and
CONFIG_SYS_MAX_FLASH_BANKS define the MAX size, also used
for detection when CONFIG_SYS_MAX_FLASH_BANKS_DETECT=y
(CFI_MAX_FLASH_BANKS = CONFIG_SYS_MAX_FLASH_BANKS).

CONFIG_SYS_MAX_FLASH_BANKS become mandatory when
CONFIG_SYS_MAX_FLASH_BANKS_DETECT is activated.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Stefan Roese <sr@denx.de>
18 files changed:
drivers/mtd/cfi_flash.c
include/configs/3c120_devboard.h
include/configs/adp-ae3xx.h
include/configs/adp-ag101p.h
include/configs/ax25-ae350.h
include/configs/bmips_bcm6338.h
include/configs/bmips_bcm6348.h
include/configs/bmips_bcm6358.h
include/configs/bmips_bcm6368.h
include/configs/boston.h
include/configs/draak.h
include/configs/ebisu.h
include/configs/j721e_evm.h
include/configs/mccmon6.h
include/configs/qemu-arm.h
include/configs/salvator-x.h
include/configs/ulcb.h
include/mtd/cfi_flash.h