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>
This commit is contained in:
parent
f31a911fe2
commit
c9f3cf14e5
|
@ -120,7 +120,7 @@ void set_muxconf_regs(void)
|
||||||
MUX_DEVKIT8000();
|
MUX_DEVKIT8000();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_GENERIC_MMC
|
#if defined(CONFIG_GENERIC_MMC) && !defined(CONFIG_SPL_BUILD)
|
||||||
int board_mmc_init(bd_t *bis)
|
int board_mmc_init(bd_t *bis)
|
||||||
{
|
{
|
||||||
omap_mmc_init(0);
|
omap_mmc_init(0);
|
||||||
|
|
Loading…
Reference in New Issue