mpc85xx: rename sdram_init() lbc_sdram_init()
[platform/kernel/u-boot.git] / arch / powerpc / cpu / mpc8xxx / fsl_lbc.c
index fcef40c..6f401e7 100644 (file)
@@ -9,6 +9,16 @@
 #include <common.h>
 #include <asm/fsl_lbc.h>
 
+#ifdef CONFIG_MPC85xx
+/* Boards should provide their own version of this if they use lbc sdram */
+void __lbc_sdram_init(void)
+{
+       /* Do nothing */
+}
+void lbc_sdram_init(void) __attribute__((weak, alias("__lbc_sdram_init")));
+#endif
+
+
 void print_lbc_regs(void)
 {
        int i;