summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2010-10-21 17:20:13 +0200
committerWolfgang Denk <wd@denx.de>2010-10-23 21:05:08 +0200
commite36aff68221d4dec4bb851d7b747903e89d886bb (patch)
treedb0d073047180372c9f9063fa092d28729f0e9ba /include/configs
parentec50a8e389863ac35bfd9d9a2e8b30187318e59e (diff)
downloadu-boot-imx-e36aff68221d4dec4bb851d7b747903e89d886bb.zip
u-boot-imx-e36aff68221d4dec4bb851d7b747903e89d886bb.tar.gz
u-boot-imx-e36aff68221d4dec4bb851d7b747903e89d886bb.tar.bz2
a4m072: add CONFIG_SYS_FLASH_BANKS_SIZES define
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>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/a4m072.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/a4m072.h b/include/configs/a4m072.h
index a24b304..f18bc45 100644
--- a/include/configs/a4m072.h
+++ b/include/configs/a4m072.h
@@ -228,6 +228,7 @@
#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