]> git.baikalelectronics.ru Git - uboot.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)
commitd9d9e055a2a4f4b558ccf4c9d02396396dee49fa
treeca816ad8f45b89f554c3d59bd453b8df2b545344
parent910e09a33a145f966eb2d0d30f11b076c63f1323
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]