summaryrefslogtreecommitdiff
path: root/include/configs/TQM823L.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-08-08 16:41:56 +0200
committerWolfgang Denk <wd@denx.de>2008-08-08 16:41:56 +0200
commit3b8d17f0f082073346c0df017c9dfd6acdb40d6d (patch)
tree63845353ff723ffe6717e0c23d924b48a12bfbe9 /include/configs/TQM823L.h
parent2a112b234d879f6390503a5f4e38246acce9d0b0 (diff)
downloadu-boot-imx-3b8d17f0f082073346c0df017c9dfd6acdb40d6d.zip
u-boot-imx-3b8d17f0f082073346c0df017c9dfd6acdb40d6d.tar.gz
u-boot-imx-3b8d17f0f082073346c0df017c9dfd6acdb40d6d.tar.bz2
TQM8xxL: fix support for second flash bank
When switching the TQM8xxL modules to use the CFI flash driver, support for the second flash bank was broken because the CFI driver did not support dynamically sized banks. This gets fixed now. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/TQM823L.h')
-rw-r--r--include/configs/TQM823L.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/TQM823L.h b/include/configs/TQM823L.h
index 100be7c..3871722 100644
--- a/include/configs/TQM823L.h
+++ b/include/configs/TQM823L.h
@@ -196,7 +196,7 @@
/* use CFI flash driver */
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */
-#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
+#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE+flash_info[0].size }
#define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_USE_BUFFER_WRITE 1
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */