]> git.sur5r.net Git - u-boot/commitdiff
a4m072: add CONFIG_SYS_FLASH_BANKS_SIZES define
authorIlya Yanok <yanok@emcraft.com>
Thu, 21 Oct 2010 15:20:13 +0000 (17:20 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 23 Oct 2010 19:05:08 +0000 (21:05 +0200)
This patch adds CONFIG_SYS_FLASH_BANKS_SIZES define to make use of new
cfi_flash driver ability to detect flash chips that are bigger than a
corresponding address window (we have such situation on some revs of
a4m072).

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
include/configs/a4m072.h

index a24b304e639dd4fb75ebdeb614183f1e7e92e5a1..f18bc45c4d14a2f9d54b711f91972c09fef946f9 100644 (file)
 #define CONFIG_SYS_FLASH_CFI
 #define CONFIG_SYS_FLASH_CFI_WIDTH     FLASH_CFI_16BIT
 #define CONFIG_SYS_FLASH_BANKS_LIST    {CONFIG_SYS_CS0_START}
+#define CONFIG_SYS_FLASH_BANKS_SIZES   {CONFIG_SYS_CS0_SIZE}
 
 /*
  * Environment settings