configs: j721e_evm.h: Define CONFIG_SYS_MAX_FLASH_BANKS_DETECT
authorVignesh Raghavendra <vigneshr@ti.com>
Wed, 23 Oct 2019 08:00:04 +0000 (13:30 +0530)
committerStefan Roese <sr@denx.de>
Thu, 24 Oct 2019 07:49:27 +0000 (09:49 +0200)
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 <vigneshr@ti.com>
Reviewed-by: Stefan Roese <sr@denx.de>
include/configs/j721e_evm.h

index dbe226b46d43d90365055cbcdca766d8e3c7a72c..8d4040df9bd46f1e1039d6bdca726ad36d73bc98 100644 (file)
@@ -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"      \