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 --- include/configs/amcore.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/configs/amcore.h') diff --git a/include/configs/amcore.h b/include/configs/amcore.h index d813af17f74..ae8aa35b6d8 100644 --- a/include/configs/amcore.h +++ b/include/configs/amcore.h @@ -40,7 +40,6 @@ #define CONFIG_SYS_SDRAM_BASE 0x00000000 #define CONFIG_SYS_SDRAM_SIZE 0x1000000 #define CONFIG_SYS_FLASH_BASE 0xffc00000 -#define CONFIG_SYS_MAX_FLASH_BANKS 1 #define CONFIG_SYS_MAX_FLASH_SECT 1024 #define CONFIG_SYS_FLASH_ERASE_TOUT 1000 -- cgit v1.2.3