summaryrefslogtreecommitdiffstats
path: root/include/configs/socrates.h
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@denx.de>2009-10-23 12:03:13 +0200
committerAnatolij Gustschin <agust@denx.de>2009-10-31 12:13:28 +0100
commitc28d3bbe963f4c57937d6fdc1dd63cd3562c147c (patch)
tree7bb2e6539685e5a72a222bb0a4364409d5d96aa7 /include/configs/socrates.h
parentf2b4bc04d6aed6be712d236dab48ac4c4da22cbf (diff)
downloadblackbird-obmc-uboot-c28d3bbe963f4c57937d6fdc1dd63cd3562c147c.tar.gz
blackbird-obmc-uboot-c28d3bbe963f4c57937d6fdc1dd63cd3562c147c.zip
video: mb862xx: improve board-specific Lime configuration
To avoid board-specific code accessing the mb862xx registers directly, the public function mb862xx_probe() has been introduced. Furthermore, the "Change of Clock Frequency" and "Set Memory I/F Mode" registers are now defined by CONFIG_SYS_MB862xx_CCF and CONFIG_SYS_MB862xx__MMR, respectively. The BSPs for the socrates and lwmon5 boards have been adapted accordingly. Signed-off-by: Wolfgang Grandegger <wg@denx.de>
Diffstat (limited to 'include/configs/socrates.h')
-rw-r--r--include/configs/socrates.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 35feed0fe1..3321aa24e7 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -210,6 +210,11 @@
#define CONFIG_VIDEO_BMP_GZIP
#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE (2 << 20) /* decompressed img */
+/* SDRAM Clock frequency, 100MHz (0x0000) or 133MHz (0x10000) */
+#define CONFIG_SYS_MB862xx_CCF 0x10000
+/* SDRAM parameter */
+#define CONFIG_SYS_MB862xx_MMR 0x4157BA63
+
/* Serial Port */
#define CONFIG_CONS_INDEX 1
OpenPOWER on IntegriCloud