summaryrefslogtreecommitdiff
path: root/include/configs/IceCube.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-05 23:19:14 +0000
committerwdenk <wdenk>2003-09-05 23:19:14 +0000
commit7152b1d0b3f8beec8c297d64664e41b4c4ef610a (patch)
tree00df503a08239cd4d02840a738bc835d2ac6fc9e /include/configs/IceCube.h
parent4d816774f120e5f0278197eb9de32a6e318cce04 (diff)
downloadu-boot-imx-7152b1d0b3f8beec8c297d64664e41b4c4ef610a.zip
u-boot-imx-7152b1d0b3f8beec8c297d64664e41b4c4ef610a.tar.gz
u-boot-imx-7152b1d0b3f8beec8c297d64664e41b4c4ef610a.tar.bz2
* Add support for SK98xx driver
* Add PCI support for SL8245 board * Support IceCube board configurations with 1 x AMD AM29LV065 (8 MB) or 1 x AM29LV652 (two LV065 in one chip = 16 MB); Run IPB at 133 Mhz; adjust the MII clock frequency accordingly * Set BRG_CLK on PM825/826 to 64MHz (VCO_OUT / 4, instead of 16 MHz) to allow for more accurate baudrate settings (error now 0.7% at 115 kbps, instead of 3.5% before) * Patch by Andreas Mohr, 4 Sep 2003: Fix a lot of spelling errors
Diffstat (limited to 'include/configs/IceCube.h')
-rw-r--r--include/configs/IceCube.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h
index 352beae..44ea654 100644
--- a/include/configs/IceCube.h
+++ b/include/configs/IceCube.h
@@ -102,13 +102,20 @@
/*
* Flash configuration
*/
+#define CFG_FLASH_16M 1
+
+#if !defined(CFG_FLASH_16M) /* 8Mb chips support only */
#define CFG_FLASH_BASE 0xff800000
#define CFG_FLASH_SIZE 0x00800000
-
-/*
- * Flash organization
- */
#define CFG_MAX_FLASH_BANKS 1 /* max num of memory banks */
+#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x740000)
+#else
+#define CFG_FLASH_BASE 0xff000000
+#define CFG_FLASH_SIZE 0x01000000
+#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x740000 + 0x800000)
+#define CFG_MAX_FLASH_BANKS 2 /* max num of memory banks */
+#endif
+
#define CFG_MAX_FLASH_SECT 128 /* max num of sects on one chip */
#define CFG_FLASH_ERASE_TOUT 240000 /* Flash Erase Timeout (in ms) */
@@ -122,7 +129,6 @@
*/
#define CFG_ENV_IS_IN_FLASH 1
#define CFG_ENV_SIZE 0x10000
-#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x740000)
#define CFG_ENV_SECT_SIZE 0x10000
#define CONFIG_ENV_OVERWRITE 1