]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/purple.h
Fix SDRAM timing on Purple board
[karo-tx-uboot.git] / include / configs / purple.h
index 69f343cd9d95299eeb8e838cbebdcecba52f1ba5..7ffd3fd36f87f5c0bc7a4611db1d8985262fa20c 100644 (file)
  * Temporary buffer for serial data until the real serial driver
  * is initialised (memtest will destroy this buffer)
  */
  * 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 */
 
 #endif /* __CONFIG_H */