Merge branch 'master' of git://git.denx.de/u-boot-arm
[oweals/u-boot.git] / board / timll / devkit8000 / devkit8000.c
index 533af5a60af391fccc439221d36b9306f6959e72..fee0dff33c7277eaf51210226cd98cd6ac45fbca 100644 (file)
@@ -120,7 +120,7 @@ void set_muxconf_regs(void)
        MUX_DEVKIT8000();
 }
 
-#ifdef CONFIG_GENERIC_MMC
+#if defined(CONFIG_GENERIC_MMC) && !defined(CONFIG_SPL_BUILD)
 int board_mmc_init(bd_t *bis)
 {
        omap_mmc_init(0);
@@ -128,7 +128,7 @@ int board_mmc_init(bd_t *bis)
 }
 #endif
 
-#ifdef CONFIG_DRIVER_DM9000
+#if defined(CONFIG_DRIVER_DM9000) & !defined(CONFIG_SPL_BUILD)
 /*
  * Routine: board_eth_init
  * Description: Setting up the Ethernet hardware.