mtd: nand: Select MXS_DMA for MTD_NAND_GPMI_NAND
Subsystems (2)
PATCH 2/2 mtd: nand: Select MXS_DMA for MTD_NAND_GPMI_NAND
From: Fabio Estevam <[email protected]>
MTD_NAND_GPMI_NAND driver needs MXS_DMA to be selected, otherwise the following error happens for imx_v6_v7_defconfig:
drivers/built-in.o: In function `gpmi_dma_filter':
clk-fixed-factor.c:(.text+0xb124c): undefined reference to `mxs_dma_is_apbh'
make: *** [vmlinux] Error 1
--- drivers/mtd/nand/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mtd/nand/Kconfig +1 -0
@@ -463,6 +463,7 @@ config MTD_NAND_NANDSIM config MTD_NAND_GPMI_NAND bool "GPMI NAND Flash Controller driver" depends on MTD_NAND && (SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q) + select MXS_DMA help Enables NAND Flash support for IMX23/28/6. The GPMI controller is very powerful, with the help of BCH
Signature · 1 line
1.7.1
PATCH 1/2 mtd: nand: Include IMX6 in the list of supported SoCs
From: Fabio Estevam <[email protected]>
Include IMX6 in the list of supported SoCs.
--- drivers/mtd/nand/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/Kconfig +1 -1
@@ -464,7 +464,7 @@ config MTD_NAND_GPMI_NAND bool "GPMI NAND Flash Controller driver" depends on MTD_NAND && (SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q) help - Enables NAND Flash support for IMX23 or IMX28. + Enables NAND Flash support for IMX23, IMX28 or IMX6. The GPMI controller is very powerful, with the help of BCH module, it can do the hardware ECC. The GPMI supports several NAND flashs at the same time. The GPMI may conflicts with other
Signature · 1 line
1.7.1
Quoted 19 lines · Fabio Estevam
From: Fabio Estevam<[email protected]>
MTD_NAND_GPMI_NANDdriver needsMXS_DMAto be selected, otherwise the following error happens forimx_v6_v7_defconfig:
drivers/built-in.o: In function `gpmi_dma_filter':
clk-fixed-factor.c:(.text+0xb124c): undefined reference to `mxs_dma_is_apbh'
make: *** [vmlinux] Error 1Signed-off-by Fabio Estevam<[email protected]>--- drivers/mtd/nand/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/mtd/nand/Kconfig +0
-0
drivers/mtd/nand/Kconfig config MTD_NAND_NANDSIM · line 469
Quoted 7 lines
drivers/mtd/nand/Kconfig +1
-0@@ -463,6 +463,7 @@ config MTD_NAND_NANDSIM config MTD_NAND_GPMI_NAND bool "GPMI NAND Flash Controller driver" depends on MTD_NAND&& (SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q) + select MXS_DMA help Enables NAND Flash support for IMX23/28/6. The GPMI controller is very powerful, with the help of BCH
thanks, but please see this thread.
http://comments.gmane.org/gmane.linux.ports.arm.kernel/146232
Huang Shijie
Quoted 3 lines · Huang Shijie
thanks, but please see this thread.
http://comments.gmane.org/gmane.linux.ports.arm.kernel/146232
Ok, but what is the conclusion on this then? It has been 8 months since that thread started and the problem is still present.
Quoted 8 lines · Fabio Estevam
Quoted 3 lines · Huang Shijie
thanks, but please see this thread.
http://comments.gmane.org/gmane.linux.ports.arm.kernel/146232
Ok, but what is the conclusion on this then? It has been 8 months since that thread started and the problem is still present.
If we want to fix it, we can add the "depend on MXS-DMA" for gpmi nand.
Huang Shijie
Quoted 1 line · Huang Shijie
If we want to fix it, we can add the "depend on MXS-DMA" for gpmi nand.
Ok, I will submit a fix using "depends" then.
Thanks,
Fabio Estevam