u-boot/include/linux
William Juul cfa460adfd Update MTD to that of Linux 2.6.22.1
A lot changed in the Linux MTD code, since it was last ported from
Linux to U-Boot. This patch takes U-Boot NAND support to the level
of Linux 2.6.22.1 and will enable support for very large NAND devices
(4KB pages) and ease the compatibility between U-Boot and Linux
filesystems.

This patch is tested on two custom boards with PPC and ARM
processors running YAFFS in U-Boot and Linux using gcc-4.1.2
cross compilers.

MAKEALL ppc/arm has some issues:
 * DOC/OneNand/nand_spl is not building (I have not tried porting
   these parts, and since I do not have any HW and I am not familiar
   with this code/HW I think its best left to someone else.)

Except for the issues mentioned above, I have ported all drivers
necessary to run MAKEALL ppc/arm without errors and warnings. Many
drivers were trivial to port, but some were not so trivial. The
following drivers must be examined carefully and maybe rewritten to
some degree:
 cpu/ppc4xx/ndfc.c
 cpu/arm926ejs/davinci/nand.c
 board/delta/nand.c
 board/zylonite/nand.c

Signed-off-by: William Juul <william.juul@tandberg.com>
Signed-off-by: Stig Olsen <stig.olsen@tandberg.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2008-08-12 11:31:15 -05:00
..
byteorder Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
mtd Update MTD to that of Linux 2.6.22.1 2008-08-12 11:31:15 -05:00
bitops.h * Code cleanup: 2003-06-27 21:31:46 +00:00
config.h Initial revision 2000-08-21 15:05:47 +00:00
ctype.h Initial revision 2000-08-21 15:05:47 +00:00
err.h Update MTD to that of Linux 2.6.22.1 2008-08-12 11:31:15 -05:00
list.h Add configuration for IFM AEV FIFO board. 2005-08-10 15:14:32 +02:00
mc146818rtc.h Initial revision 2000-11-20 17:21:10 +00:00
mii.h Merge with /home/wd/git/u-boot/custodian/u-boot-avr32; code cleanup. 2007-04-18 16:53:52 +02:00
posix_types.h Initial revision 2001-04-28 17:59:11 +00:00
stat.h sh: Add support stat structure and stat.h 2008-03-28 14:16:14 +09:00
stddef.h Initial revision 2002-03-31 12:34:56 +00:00
string.h Scheduled for removal: strnicmp() which is unused 2006-05-03 01:00:39 +02:00
time.h Initial revision 2002-03-08 21:31:05 +00:00
types.h Initial revision 2000-08-21 15:05:47 +00:00