u-boot/include/linux
Prabhakar Kushwaha 68ec9c85a9 mtd: move & update nand_ecclayout structure (plus board changes)
nand_ecclayout is present in mtd.h at Linux.
Move this structure to mtd.h to comply with Linux.

Also, increase the ecc placement locations to 640 to suport device having
writesize/oobsize of 8KB/640B. This means that the maximum oobsize has gone
up to 640 bytes and consequently the maximum ecc placement locations have
also gone up to 640.

Changes from Prabhabkar's version (squashed into one patch to preserve
bisectability):
 - Added _LARGE to MTD_MAX_*_ENTRIES

   This makes the names match current Linux source, and resolves
   a conflict between
   http://patchwork.ozlabs.org/patch/280488/
   and
   http://patchwork.ozlabs.org/patch/284513/

   The former was posted first and is closer to matching Linux, but
   unlike Linux it does not add _LARGE to the names.  The second adds
   _LARGE to one of the names, and depends on it in a subsequent patch
   (http://patchwork.ozlabs.org/patch/284512/).

 - Made max oobfree/eccpos configurable, and used this on tricorder,
   alpr, ASH405, T4160QDS, and T4240QDS (these boards failed to build
   for me without doing so, due to a size increase).

   On tricorder SPL, this saves 2576 bytes (and makes the SPL build
   again) versus the new default of 640 eccpos and 32 oobfree, and
   saves 336 bytes versus the old default of 128 eccpos and 8 oobfree.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
CC: Vipin Kumar <vipin.kumar@st.com>
[scottwood@freescale.com: changes as described above]
Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Thomas Weber <weber@corscience.de>
Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Cc: Stefan Roese <sr@denx.de>
Cc: York Sun <yorksun@freescale.com>
Cc: Tom Rini <trini@ti.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2013-11-21 13:32:43 -06:00
..
byteorder include/linux/byteorder: Always defines __fswab64, __swab64p and __swab64s 2012-11-30 07:15:04 -07:00
mtd mtd: move & update nand_ecclayout structure (plus board changes) 2013-11-21 13:32:43 -06:00
unaligned include/linux/unaligned/generic.h: fix warning: preprocessor token __force redefined 2012-11-04 11:00:34 -07:00
usb usb: am437x: Add support for am437x xhci USB host 2013-10-20 23:42:41 +02:00
apm_bios.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
bch.h nand: Merge BCH code from Linux nand driver 2012-01-26 16:09:02 -06:00
bitops.h Correct ffs/fls regression for PowerPC etc 2009-09-17 22:45:31 +02:00
bitrev.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
compat.h linux/compat.h: move dev_err, dev_info and dev_dbg from usb driver to compat.h 2013-08-22 16:50:29 +02:00
compiler-gcc.h compiler_gcc: do not redefine __gnu_attributes 2013-09-06 13:09:07 -04:00
compiler-gcc3.h Add missing header for gcc3 2011-10-01 21:56:20 +02:00
compiler-gcc4.h compiler_gcc: do not redefine __gnu_attributes 2013-09-06 13:09:07 -04:00
compiler.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
crc7.h lib: add crc7 from Linux 2011-01-18 23:38:08 +01:00
crc32.h Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
ctype.h Add isblank 2011-10-17 22:25:34 +02:00
edd.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
err.h linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
ethtool.h add support for Xilinx 1000BASE-X phy (GTX) 2013-06-24 19:11:13 -05:00
fb.h include/linux/fb.h: Add a missing include for 'list.h' 2013-10-07 08:21:13 -04:00
input.h input: Add linux/input.h for key code support 2012-05-15 08:31:39 +02:00
ioctl.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
ioport.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
kbuild.h Coding Style cleanup 2010-10-27 22:48:30 +02:00
linkage.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
linux_string.h Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
list.h Coding style cleanup, update CHANGELOG 2008-09-13 02:23:05 +02:00
lzo.h add lzop decompression support 2009-12-05 01:30:23 +01:00
math64.h UBIFS: Implement read-only UBIFS support in U-Boot 2009-03-20 22:39:15 +01:00
mc146818rtc.h Replace BCD2BIN and BIN2BCD macros with inline functions 2009-08-25 12:57:55 +02:00
mdio.h Minor coding style cleanup. 2011-09-11 21:24:09 +02:00
mii.h add support for Xilinx 1000BASE-X phy (GTX) 2013-06-24 19:11:13 -05:00
netdevice.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
poison.h update linux/list 2008-08-31 04:24:51 +02:00
posix_types.h Initial revision 2001-04-28 17:59:11 +00:00
rbtree.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
screen_info.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
stat.h nios2: add struct stat support in linux/stat.h 2010-04-02 12:28:40 -04:00
stddef.h include/linux/stddef.h: avoid 'warning: preprocessor token offsetof redefined' 2012-11-04 11:00:34 -07:00
string.h mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
stringify.h COMMON: Add __stringify() function 2012-10-15 11:53:47 -07:00
time.h Initial revision 2002-03-08 21:31:05 +00:00
types.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00