commit | 0155171dd1812a3b223d48a4a82b61fc9080b7ee | [log] [tgz] |
---|---|---|
author | Zhengxun Li <zhengxunli@mxic.com.tw> | Tue Sep 14 13:43:51 2021 +0800 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 12 16:48:38 2021 -0400 |
tree | ca816ad8f45b89f554c3d59bd453b8df2b545344 | |
parent | 04a5b0f72c40db982469ecd24070d9674ddb0dda [diff] |
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>