summaryrefslogtreecommitdiff
path: root/include/configs/CPCI750.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-02-08 15:54:15 +0100
committerStefan Roese <sr@denx.de>2006-02-08 15:54:15 +0100
commit79830d591afb758be8556396949d433fee1527c2 (patch)
treee57ce5c733f8bb3952aff54cc96f456c4a606f41 /include/configs/CPCI750.h
parent48a05a5188e03861da2378c95ba7963d810736aa (diff)
downloadu-boot-79830d591afb758be8556396949d433fee1527c2.tar.gz
Convert CPCI750 to use common CFI flash driver
Patch by Reinhard Arlt, 8 Feb 2006
Diffstat (limited to 'include/configs/CPCI750.h')
-rw-r--r--include/configs/CPCI750.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/configs/CPCI750.h b/include/configs/CPCI750.h
index 150e5267f2..1632f374c3 100644
--- a/include/configs/CPCI750.h
+++ b/include/configs/CPCI750.h
@@ -285,13 +285,19 @@
* FLASH related
*----------------------------------------------------------------------*/
+#define CFG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
-#define CFG_MAX_FLASH_SECT 128 /* max number of sectors on one chip */
-#define CFG_MAX_FLASH_BANKS 4 /* max number of memory banks */
-#define CFG_FLASH_INCREMENT 0x01000000 /* there is only one bank */
#define CFG_FLASH_PROTECTION 1 /* use hardware protection */
#define CFG_FLASH_USE_BUFFER_WRITE 1 /* use buffered writes (20x faster) */
#define CFG_FLASH_BASE 0xfc000000 /* start of flash banks */
+#define CFG_MAX_FLASH_BANKS 4 /* max number of memory banks */
+#define CFG_FLASH_INCREMENT 0x01000000 /* size of flash bank */
+#define CFG_MAX_FLASH_SECT 128 /* max number of sectors on one chip */
+#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, \
+ CFG_FLASH_BASE + 1*CFG_FLASH_INCREMENT, \
+ CFG_FLASH_BASE + 2*CFG_FLASH_INCREMENT, \
+ CFG_FLASH_BASE + 3*CFG_FLASH_INCREMENT }
+#define CFG_FLASH_EMPTY_INFO 1 /* show if bank is empty */
/* areas to map different things with the GT in physical space */
#define CFG_DRAM_BANKS 4