summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 */