[U-Boot] [PATCH] mx28evk: fix build error

Anatolij Gustschin agust at denx.de
Fri Mar 30 17:45:27 CEST 2012


Fix:
drivers/mmc/libmmc.o: In function `mxsmmc_send_cmd':
/home/ag/git/u-boot/drivers/mmc/mxsmmc.c:210: undefined reference to `mxs_dma_desc_append'
/home/ag/git/u-boot/drivers/mmc/mxsmmc.c:211: undefined reference to `mxs_dma_go'
drivers/mmc/libmmc.o: In function `mxsmmc_initialize':
/home/ag/git/u-boot/drivers/mmc/mxsmmc.c:306: undefined reference to `mxs_dma_desc_alloc'

Signed-off-by: Anatolij Gustschin <agust at denx.de>
Cc: Fabio Estevam <fabio.estevam at freescale.com>
---
 include/configs/mx28evk.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index cdcc6e0..705fdab 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -126,6 +126,11 @@
 #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
 
 /*
+ * DMA
+ */
+#define CONFIG_APBH_DMA
+
+/*
  * MMC Driver
  */
 #define CONFIG_ENV_IS_IN_MMC
-- 
1.7.7.6



More information about the U-Boot mailing list