ARM: am335x: Add phyCORE AM335x R2 support
[oweals/u-boot.git] / board / wandboard / spl.c
index 000cb109fc15527cbc554a88d9d74181f798f871..dbd9d0286fd0da1528ce90f86e838441728cdf7b 100644 (file)
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/video.h>
 #include <mmc.h>
-#include <fsl_esdhc.h>
+#include <fsl_esdhc_imx.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 #include <spl.h>
 
-#if defined(CONFIG_SPL_BUILD)
 #include <asm/arch/mx6-ddr.h>
 /*
  * Driving strength:
@@ -513,5 +512,3 @@ int board_mmc_init(bd_t *bis)
 
        return 0;
 }
-
-#endif