lpc32xx: Flash driver

Based on the lpc3180 driver, but released as a separate driver for two reasons:
 1) I don't have an lpc3180 to test it against, so it might unintentionally break compatibility.
 2) It's using a different OOB layout than lpc3180.

Rewritten so that it no longer borrows code from the NXP CDL library.  Instead borrowing code from the u-boot port to lpc32xx, written by Kevin Wells.

Tested on lpc3250 (Hitex LPC3250-Stick).  OOB layout is compatible with LPCLinux.
This commit is contained in:
Bjarne Steinsbo
2011-02-15 20:23:40 +01:00
committed by Øyvind Harboe
parent fe0894015f
commit 3f4b9e334b
5 changed files with 1932 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ NAND_DRIVERS = \
nonce.c \
davinci.c \
lpc3180.c \
lpc32xx.c \
mx2.c \
mx3.c \
orion.c \
@@ -35,6 +36,7 @@ noinst_HEADERS = \
fileio.h \
imp.h \
lpc3180.h \
lpc32xx.h \
mx2.h \
mx3.h \
s3c24xx.h \