summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx51_bbg/mx51_bbg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/mx51_bbg/mx51_bbg.c b/board/freescale/mx51_bbg/mx51_bbg.c
index e90337b..e0fe6bd 100644
--- a/board/freescale/mx51_bbg/mx51_bbg.c
+++ b/board/freescale/mx51_bbg/mx51_bbg.c
@@ -341,6 +341,7 @@ s32 spi_get_cfg(struct imx_spi_dev_t *dev)
return 0;
}
+#ifdef CONFIG_IMX_ECSPI
void spi_io_init(struct imx_spi_dev_t *dev)
{
switch (dev->base) {
@@ -383,6 +384,7 @@ void spi_io_init(struct imx_spi_dev_t *dev)
}
}
#endif
+#endif
#ifdef CONFIG_MXC_FEC