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.
47 lines
603 B
Makefile
47 lines
603 B
Makefile
include $(top_srcdir)/common.mk
|
|
|
|
noinst_LTLIBRARIES = libocdflashnand.la
|
|
|
|
libocdflashnand_la_SOURCES = \
|
|
ecc.c \
|
|
ecc_kw.c \
|
|
core.c \
|
|
fileio.c \
|
|
tcl.c \
|
|
arm_io.c \
|
|
$(NAND_DRIVERS) \
|
|
driver.c
|
|
|
|
NAND_DRIVERS = \
|
|
nonce.c \
|
|
davinci.c \
|
|
lpc3180.c \
|
|
lpc32xx.c \
|
|
mx2.c \
|
|
mx3.c \
|
|
orion.c \
|
|
s3c24xx.c \
|
|
s3c2410.c \
|
|
s3c2412.c \
|
|
s3c2440.c \
|
|
s3c2443.c \
|
|
s3c6400.c \
|
|
at91sam9.c \
|
|
nuc910.c
|
|
|
|
noinst_HEADERS = \
|
|
arm_io.h \
|
|
core.h \
|
|
driver.h \
|
|
fileio.h \
|
|
imp.h \
|
|
lpc3180.h \
|
|
lpc32xx.h \
|
|
mx2.h \
|
|
mx3.h \
|
|
s3c24xx.h \
|
|
s3c24xx_regs.h \
|
|
nuc910.h
|
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|