]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6: soc: Move mxs_dma_init() into the mxs nand driver
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 29 Jun 2017 12:33:44 +0000 (09:33 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 12 Jul 2017 12:05:01 +0000 (09:05 -0300)
commit4590f11b61d691eaa705ce03cf0df82236516b8c
tree1f3c62a763561b3ce18c0d76d138325dd785cab2
parent10d185960ea033c3704a4905e43b75cf0e0e1de3
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>
arch/arm/cpu/armv7/mx6/soc.c
drivers/mtd/nand/mxs_nand.c