Patchwork [U-Boot] mx28evk: fix build error

login
register
mail settings
Submitter Anatolij Gustschin
Date March 30, 2012, 3:45 p.m.
Message ID <1333122327-5033-1-git-send-email-agust@denx.de>
Download mbox | patch
Permalink /patch/149671/
State Accepted
Commit 1102d8d72afab0151123812dd227d2c2b6291cb3
Headers show

Comments

Anatolij Gustschin - March 30, 2012, 3:45 p.m.
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@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx28evk.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Fabio Estevam - March 30, 2012, 3:47 p.m.
On Fri, Mar 30, 2012 at 12:45 PM, Anatolij Gustschin <agust@denx.de> 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'
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>

Acked-by: Fabio Estevam <fabio.estevam@freescale.com>

Thanks
Wolfgang Denk - March 30, 2012, 8:49 p.m.
Dear Anatolij Gustschin,

In message <1333122327-5033-1-git-send-email-agust@denx.de> 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'
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  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

Patch

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