]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/cpu/mpc85xx/spl_minimal.c
powerpc/t1024: add serdes protocol 0x40 and 0x5f
[u-boot] / arch / powerpc / cpu / mpc85xx / spl_minimal.c
index 199b33e3bdb521a8c26037e635219bcfe2afe677..cc45f715e84bbe4c7164c5faf6eddf096fc87a12 100644 (file)
@@ -7,12 +7,12 @@
 #include <common.h>
 #include <asm/processor.h>
 #include <asm/global_data.h>
-#include <asm/fsl_ifc.h>
+#include <fsl_ifc.h>
 #include <asm/io.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-void cpu_init_f(void)
+ulong cpu_init_f(void)
 {
 #ifdef CONFIG_SYS_INIT_L2_ADDR
        ccsr_l2cache_t *l2cache = (void *)CONFIG_SYS_MPC85xx_L2_ADDR;
@@ -27,6 +27,8 @@ void cpu_init_f(void)
        out_be32(&l2cache->l2ctl,
                (MPC85xx_L2CTL_L2E | MPC85xx_L2CTL_L2SRAM_ENTIRE));
 #endif
+
+       return 0;
 }
 
 #ifndef CONFIG_SYS_FSL_TBCLK_DIV