summaryrefslogtreecommitdiffstats
path: root/board/w7o/w7o.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/w7o/w7o.c')
-rw-r--r--board/w7o/w7o.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/w7o/w7o.c b/board/w7o/w7o.c
index c56c269dae..7a3d63a4bf 100644
--- a/board/w7o/w7o.c
+++ b/board/w7o/w7o.c
@@ -31,6 +31,7 @@
#include <watchdog.h>
unsigned long get_dram_size (void);
+void sdram_init(void);
/*
* Macros to transform values
@@ -153,6 +154,13 @@ int checkboard (void)
long int initdram (int board_type)
{
+ /*
+ * ToDo: Move the asm init routine sdram_init() to this C file,
+ * or even better use some common ppc4xx code available
+ * in cpu/ppc4xx
+ */
+ sdram_init();
+
return get_dram_size ();
}
OpenPOWER on IntegriCloud