From 0f9595b9fa68ed1634adddf989fd037909eec433 Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Tue, 4 Jan 2022 14:24:00 +0100 Subject: configs: Migrate CONFIG_SYS_MAX_FLASH_BANKS to Kconfig Use moveconfig.py script to convert define CONFIG_SYS_MAX_FLASH_BANKS and CONFIG_SYS_MAX_FLASH_BANKS_DETECT to Kconfig and move these entries to defconfigs. Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass Reviewed-by: Stefan Roese [trini: Re-switch to IS_ENABLED check in spi-nor-core.c, re-run migration] Signed-off-by: Tom Rini --- configs/ls1046aqds_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/ls1046aqds_defconfig') diff --git a/configs/ls1046aqds_defconfig b/configs/ls1046aqds_defconfig index f136aeafae..507d24ec8f 100644 --- a/configs/ls1046aqds_defconfig +++ b/configs/ls1046aqds_defconfig @@ -65,6 +65,7 @@ CONFIG_MTD_NOR_FLASH=y CONFIG_FLASH_CFI_DRIVER=y CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y CONFIG_SYS_FLASH_CFI=y +CONFIG_SYS_MAX_FLASH_BANKS=2 CONFIG_MTD_RAW_NAND=y CONFIG_NAND_FSL_IFC=y CONFIG_SYS_NAND_ONFI_DETECTION=y -- cgit v1.2.3