Skip to contentSkip to conversation

mx28evk: fix build error

PATCH New Anatolij Gustschin 3 participants 3 messages Mar 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx28evk: fix build error

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'

---
 include/configs/mx28evk.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/mx28evk.h +5 -0
index cdcc6e0..705fdab 100644
@@ -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
Signature · 1 line
1.7.7.6
#1 lore raw

PATCH 1/1 mx28evk: fix build error

Quoted 9 lines · Anatolij Gustschin

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'

Thanks

#2 lore raw

PATCH 1/1 mx28evk: fix build error

In reply to Anatolij Gustschin

Dear Anatolij Gustschin,

Quoted 7 lines · In message <[email protected]> you wrote:

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'

Quoted 5 lines
---
 include/configs/mx28evk.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Applied, thanks.

Albert Stefano: hope this is OK with you.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Two wrongs don't make a right, but three rights make a left.