diff options
author | Fabio Estevam | 2017-06-29 09:33:44 -0300 |
---|---|---|
committer | Stefano Babic | 2017-07-12 09:44:22 +0200 |
commit | a1d1fdc920cfb4c0126e5f8ff5233dd391548a0b (patch) | |
tree | fb4d7ada045d2240312d87b9266c55dcb32e075a /arch | |
parent | 306dd7dabd6472b8b66ab5106d5a6a516ef15d79 (diff) |
mx6: soc: Move mxs_dma_init() into the mxs nand driver
Currently the following build error is seen when a board using MMC SPL
is built and the MXS nand driver is also selected:
arch/arm/cpu/armv7/built-in.o: In function `arch_cpu_init':
arch/arm/cpu/armv7/mx6/soc.c:432: undefined reference to 'mxs_dma_init'
On mx6 the only user of mxs_dma_init() is the mxs nand driver, so
move it there.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index b8817664870..832ef251b8c 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -427,11 +427,6 @@ int arch_cpu_init(void) imx_set_wdog_powerdown(false); /* Disable PDE bit of WMCR register */ -#ifdef CONFIG_APBH_DMA - /* Start APBH DMA */ - mxs_dma_init(); -#endif - init_src(); return 0; |