From: Wenbin Song Date: Fri, 1 Apr 2016 09:28:41 +0000 (+0800) Subject: armv8/ls1043aqds: modify CONFIG_SYS_MAX_FLASH_BANKS to 1 X-Git-Tag: v2016.05-rc1~31^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b245d9ad3a07b44a6bad42eb365ec38bcc44bdf;p=oweals%2Fu-boot.git 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 --- 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) */