summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-09-21 15:24:04 +0800
committerTerry Lv <r65388@freescale.com>2010-09-21 15:24:44 +0800
commit359ec824c60dffdca80f42ca626fb5baf67ad20e (patch)
tree18d524ff8f1458cbbd33f4af67962c17789ecb84 /board
parentf7af4ae4bbe25f6e53fcc779458ab31c6c412596 (diff)
downloadu-boot-imx-359ec824c60dffdca80f42ca626fb5baf67ad20e.zip
u-boot-imx-359ec824c60dffdca80f42ca626fb5baf67ad20e.tar.gz
u-boot-imx-359ec824c60dffdca80f42ca626fb5baf67ad20e.tar.bz2
ENGR00131779: Use serial_mxc as uart driver for all platforms
Use serial_mxc as uart driver for all platforms. Signed-off-by: Terry Lv <r65388@freescale.com>
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