]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: rawnand: Add Macronix raw NAND controller driver
authorZhengxun Li <zhengxunli@mxic.com.tw>
Tue, 14 Sep 2021 05:43:51 +0000 (13:43 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 12 Oct 2021 20:48:38 +0000 (16:48 -0400)
commit0892a7e5fa5ce38f58e0e6636ae56c6f60c080e0
treeca816ad8f45b89f554c3d59bd453b8df2b545344
parent5f9338ad56e6b1168905e73ecfcd5e1b7b1a32e2
mtd: rawnand: Add Macronix raw NAND controller driver

Add a driver for Macronix raw NAND controller.

This patch referred from linux mxic_nand.c. The difference from the
linux version is described here.

1. In order to adapt to the uboot nand framework, add function
   binding (cmdfunc, read_byte, read_buf, write_buf).

2. Added parsing command format to use hardware correctly.

3. Remove the incompatible functions of Uboot.

Signed-off-by: Zhengxun Li <zhengxunli@mxic.com.tw>
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/raw/Makefile
drivers/mtd/nand/raw/mxic_nand.c [new file with mode: 0644]