mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-20 03:44:55 +00:00
mtd: rawnand: Meson NAND controller support
Basic support for Amlogic Meson NAND controller on AXG. This version works at only first EDO mode. Based on Linux version 6.7.0-rc4. Link: https://lore.kernel.org/all/20240210223927.570043-1-avkrasnov@salutedevices.com Signed-off-by: Arseniy Krasnov <avkrasnov@salutedevices.com> Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
This commit is contained in:
parent
85f3d3de8d
commit
c2e8c4d09a
3 changed files with 1258 additions and 0 deletions
|
@ -504,6 +504,15 @@ config NAND_ARASAN
|
|||
controller. This uses the hardware ECC for read and
|
||||
write operations.
|
||||
|
||||
config NAND_MESON
|
||||
bool "Meson NAND support"
|
||||
select SYS_NAND_SELF_INIT
|
||||
depends on DM_MTD && ARCH_MESON
|
||||
imply CMD_NAND
|
||||
help
|
||||
This enables Nand driver support for Meson raw NAND flash
|
||||
controller.
|
||||
|
||||
config NAND_MXC
|
||||
bool "MXC NAND support"
|
||||
depends on CPU_ARM926EJS || CPU_ARM1136 || MX5
|
||||
|
|
|
@ -61,6 +61,7 @@ obj-$(CONFIG_NAND_KMETER1) += kmeter1_nand.o
|
|||
obj-$(CONFIG_NAND_LPC32XX_MLC) += lpc32xx_nand_mlc.o
|
||||
obj-$(CONFIG_NAND_LPC32XX_SLC) += lpc32xx_nand_slc.o
|
||||
obj-$(CONFIG_NAND_VF610_NFC) += vf610_nfc.o
|
||||
obj-$(CONFIG_NAND_MESON) += meson_nand.o
|
||||
obj-$(CONFIG_NAND_MXC) += mxc_nand.o
|
||||
obj-$(CONFIG_NAND_MXS) += mxs_nand.o
|
||||
obj-$(CONFIG_NAND_MXS_DT) += mxs_nand_dt.o
|
||||
|
|
1248
drivers/mtd/nand/raw/meson_nand.c
Normal file
1248
drivers/mtd/nand/raw/meson_nand.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue