summaryrefslogtreecommitdiffstats
path: root/board/csb272
diff options
context:
space:
mode:
Diffstat (limited to 'board/csb272')
-rw-r--r--board/csb272/csb272.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/csb272/csb272.c b/board/csb272/csb272.c
index 24c6f0d986..640412d10d 100644
--- a/board/csb272/csb272.c
+++ b/board/csb272/csb272.c
@@ -27,6 +27,8 @@
#include <miiphy.h>
#include <ppc4xx_enet.h>
+void sdram_init(void);
+
/*
* Configuration data for AMIS FS6377-01 Programmable 3-PLL Clock Generator
*
@@ -124,6 +126,13 @@ long initdram (int board_type)
ulong bank_size;
ulong tmp;
+ /*
+ * 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();
+
tot_size = 0;
mtdcr (memcfga, mem_mb0cf);
OpenPOWER on IntegriCloud