summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Guinot <[simon@sequanux.org]>2011-11-01 16:44:12 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:22 +0100
commitf697997a4f9bd88d6a9dcf80115056af55031c58 (patch)
treef69e142e88650b5b4e689692b9af958b99e9cec7 /include
parentabbbbdd7e1232cfe5ccde8da9d4cc1fa609f8456 (diff)
downloadtalos-obmc-uboot-f697997a4f9bd88d6a9dcf80115056af55031c58.tar.gz
talos-obmc-uboot-f697997a4f9bd88d6a9dcf80115056af55031c58.zip
netspace_v2: fix SDRAM configuration
Network Space (Max) v2 and Internet Space v2 boards have different SDRAM configuration and size: respectively 256MB (DDR2 1Gb, 128Mbx8 organisation) and 128MB (DDR2 512Mb, 64Mbx8 organisation). To handle the differences, this patch add a dedicated kwimage.cfg file for Internet Space v2. Additionnaly the number of SDRAM banks is fixed. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/netspace_v2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/netspace_v2.h b/include/configs/netspace_v2.h
index 82a1233d18..5790602d93 100644
--- a/include/configs/netspace_v2.h
+++ b/include/configs/netspace_v2.h
@@ -60,11 +60,16 @@
*/
#define CONFIG_SYS_TCLK 166000000 /* 166MHz */
+#define CONFIG_NR_DRAM_BANKS 1
+#ifdef CONFIG_INETSPACE_V2
+/* Different SDRAM configuration and size for Internet Space v2 */
+#define CONFIG_SYS_KWD_CONFIG ($(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage-is2.cfg)
+#endif
+
/*
* mv-common.h should be defined after CMD configs since it used them
* to enable certain macros
*/
-#define CONFIG_NR_DRAM_BANKS 2
#include "mv-common.h"
/* Remove or override few declarations from mv-common.h */
OpenPOWER on IntegriCloud