[U-Boot] [U-Boot, v3, 2/2] arasan: nfc: Add initial nand driver support for arasan
Scott Wood
oss at buserror.net
Sat Feb 13 00:32:44 CET 2016
On Tue, Nov 17, 2015 at 02:30:10PM +0530, Siva Durga Prasad Paladugu wrote:
> Added initial nand driver support for arasan nand flash
> controller.This supports nand erase,nand read, nand write
> This uses the hardware ECC for read and write operations
> ZynqMP uses this driver.
>
> Signed-off-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
> ---
> Changes from v2:
> - Changed licensing to GPL2.0+
> - Corrected ecc bits in ecc_matrix
> - Added bchval to ecc_matrix
> - Modified codeword size in ecc matrix
> - Modified nand_init as per review
> comment
> - Removed hardcoding for ecc size and
> bch shift operations
> Changes from v1:
> - Made some variables global to filescope
> wherever applicable
> - Used real units of time for timeouts
> - Handled proper return values
> - Removed arasan_read_byte and merged its
> functionality to arasan_nand_read_byte
> - Fixed coding style changes
> - Removed On Die ECC support code for now
> - Removed code ReadId from init.
> ---
> drivers/mtd/nand/Makefile | 1 +
> drivers/mtd/nand/arasan_nfc.c | 1155 +++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 1156 insertions(+), 0 deletions(-)
> create mode 100644 drivers/mtd/nand/arasan_nfc.c
I fixed several checkpatch warnings when applying -- please check this
next time.
-Scott
More information about the U-Boot
mailing list