summaryrefslogtreecommitdiff
path: root/board/eric/eric.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/eric/eric.c')
-rw-r--r--board/eric/eric.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/eric/eric.c b/board/eric/eric.c
index 5413ae15c7..14ba9b0a41 100644
--- a/board/eric/eric.c
+++ b/board/eric/eric.c
@@ -31,6 +31,8 @@
#define PPC405GP_GPIO0_ODR 0xef600718 /* GPIO Open Drain */
#define PPC405GP_GPIO0_IR 0xef60071c /* GPIO Input */
+void sdram_init(void);
+
int board_early_init_f (void)
{
@@ -127,6 +129,12 @@ long int initdram (int board_type)
int TotalSize;
#endif
+ /*
+ * 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();
#ifdef CONFIG_ERIC
/*