summaryrefslogtreecommitdiff
path: root/include/configs/purple.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-20 10:39:44 +0000
committerwdenk <wdenk>2003-05-20 10:39:44 +0000
commit86d82762f685c4554e24628838b19e93c9a38001 (patch)
treef307771e9eb299bad1ab4e5c9fd5cc8cead8c7d1 /include/configs/purple.h
parent66fd3d1ce732d9168d6a056986231ada8dfa500e (diff)
downloadu-boot-imx-86d82762f685c4554e24628838b19e93c9a38001.zip
u-boot-imx-86d82762f685c4554e24628838b19e93c9a38001.tar.gz
u-boot-imx-86d82762f685c4554e24628838b19e93c9a38001.tar.bz2
Fix SDRAM timing on Purple board
Diffstat (limited to 'include/configs/purple.h')
-rw-r--r--include/configs/purple.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/purple.h b/include/configs/purple.h
index 69f343c..7ffd3fd 100644
--- a/include/configs/purple.h
+++ b/include/configs/purple.h
@@ -150,7 +150,8 @@
* Temporary buffer for serial data until the real serial driver
* is initialised (memtest will destroy this buffer)
*/
-#define CFG_SCONSOLE_ADDR CFG_SDRAM_BASE
-#define CFG_SCONSOLE_SIZE 0x0002000
+#define CFG_SCONSOLE_ADDR (CFG_SDRAM_BASE + CFG_INIT_SP_OFFSET - \
+ CFG_DCACHE_SIZE / 2)
+#define CFG_SCONSOLE_SIZE (CFG_DCACHE_SIZE / 4)
#endif /* __CONFIG_H */