From 1b245d9ad3a07b44a6bad42eb365ec38bcc44bdf Mon Sep 17 00:00:00 2001 From: Wenbin Song Date: Fri, 1 Apr 2016 17:28:41 +0800 Subject: [PATCH] armv8/ls1043aqds: modify CONFIG_SYS_MAX_FLASH_BANKS to 1 There is only one flash bank for ls1043aqds. Signed-off-by: Wenbin Song Reviewed-by: York Sun --- include/configs/ls1043aqds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 7b99d36970..7c19122f9e 100644 --- a/include/configs/ls1043aqds.h +++ b/include/configs/ls1043aqds.h @@ -162,7 +162,7 @@ unsigned long get_board_ddr_clk(void); FTIM2_NOR_TWP(0x1c)) #define CONFIG_SYS_NOR_FTIM3 0 -#define CONFIG_SYS_MAX_FLASH_BANKS 2 /* number of banks */ +#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 1024 /* sectors per device */ #define CONFIG_SYS_FLASH_ERASE_TOUT 60000 /* Flash Erase Timeout (ms) */ #define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */ -- 2.30.2