Commit 8fae856c authored by Liang Yang's avatar Liang Yang Committed by Miquel Raynal

mtd: rawnand: meson: add support for Amlogic NAND flash controller

Add initial support for the Amlogic NAND flash controller which is
available on Meson SoCs.
Signed-off-by: default avatarLiang Yang <liang.yang@amlogic.com>
Signed-off-by: default avatarYixun Lan <yixun.lan@amlogic.com>
Signed-off-by: default avatarJianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 3059ba75
...@@ -550,4 +550,12 @@ config MTD_NAND_STM32_FMC2 ...@@ -550,4 +550,12 @@ config MTD_NAND_STM32_FMC2
The controller supports a maximum 8k page size and supports The controller supports a maximum 8k page size and supports
a maximum 8-bit correction error per sector of 512 bytes. a maximum 8-bit correction error per sector of 512 bytes.
config MTD_NAND_MESON
tristate "Support for NAND controller on Amlogic's Meson SoCs"
depends on ARCH_MESON || COMPILE_TEST
select MFD_SYSCON
help
Enables support for NAND controller on Amlogic's Meson SoCs.
This controller is found on Meson SoCs.
endif # MTD_NAND endif # MTD_NAND
...@@ -57,6 +57,7 @@ obj-$(CONFIG_MTD_NAND_QCOM) += qcom_nandc.o ...@@ -57,6 +57,7 @@ obj-$(CONFIG_MTD_NAND_QCOM) += qcom_nandc.o
obj-$(CONFIG_MTD_NAND_MTK) += mtk_ecc.o mtk_nand.o obj-$(CONFIG_MTD_NAND_MTK) += mtk_ecc.o mtk_nand.o
obj-$(CONFIG_MTD_NAND_TEGRA) += tegra_nand.o obj-$(CONFIG_MTD_NAND_TEGRA) += tegra_nand.o
obj-$(CONFIG_MTD_NAND_STM32_FMC2) += stm32_fmc2_nand.o obj-$(CONFIG_MTD_NAND_STM32_FMC2) += stm32_fmc2_nand.o
obj-$(CONFIG_MTD_NAND_MESON) += meson_nand.o
nand-objs := nand_base.o nand_legacy.o nand_bbt.o nand_timings.o nand_ids.o nand-objs := nand_base.o nand_legacy.o nand_bbt.o nand_timings.o nand_ids.o
nand-objs += nand_onfi.o nand-objs += nand_onfi.o
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment