From: Vignesh Raghavendra Date: Wed, 23 Oct 2019 08:00:04 +0000 (+0530) Subject: configs: j721e_evm.h: Define CONFIG_SYS_MAX_FLASH_BANKS_DETECT X-Git-Tag: v2020.01-rc1~10^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1fc18e173e0035eb84f96a30d417d0ebe2f25caf;p=oweals%2Fu-boot.git configs: j721e_evm.h: Define CONFIG_SYS_MAX_FLASH_BANKS_DETECT Define CONFIG_SYS_MAX_FLASH_BANKS_DETECT so that number of flash banks are automatically detected by CFI flash driver Signed-off-by: Vignesh Raghavendra Reviewed-by: Stefan Roese --- diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index dbe226b46d..8d4040df9b 100644 --- a/include/configs/j721e_evm.h +++ b/include/configs/j721e_evm.h @@ -56,6 +56,9 @@ #define CONFIG_SYS_BOOTM_LEN SZ_64M #define CONFIG_CQSPI_REF_CLK 133333333 +/* HyperFlash related configuration */ +#define CONFIG_SYS_MAX_FLASH_BANKS_DETECT 1 + /* U-Boot general configuration */ #define EXTRA_ENV_J721E_BOARD_SETTINGS \ "default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \