浏览代码

devkit8000: protect board_mmc_init

This function is also defined in omap-common/spl_mmc.de so the implementation
in devkit8000.c was protected by a ifdef.

Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
Simon Schwarz 13 年之前
父节点
当前提交
c9f3cf14e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      board/timll/devkit8000/devkit8000.c

+ 1 - 1
board/timll/devkit8000/devkit8000.c

@@ -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);