u-boot-brain/include/linux/mtd
Boris Brezillon 13f3b04f61 mtd: add mtd_ooblayout_xxx() helper functions
In order to make the ecclayout definition completely dynamic we need to
rework the way the OOB layout are defined and iterated.

Create a few mtd_ooblayout_xxx() helpers to ease OOB bytes manipulation
and hide ecclayout internals to their users.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[Linux commit: 75eb2cec251fda33c9bb716ecc372819abb9278a]
[masahiro:
 cherry-pick more code from adbbc3bc827eb1f43a932d783f09ba55c8ec8379]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-11-29 00:28:58 +09:00
..
bbm.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
concat.h include/linux/mtd: Update copyright notices 2015-11-12 13:19:03 -05:00
doc2000.h include/linux/mtd: Update copyright notices 2015-11-12 13:19:03 -05:00
flashchip.h kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
fsl_upm.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsmc_nand.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mtd.h mtd: add mtd_ooblayout_xxx() helper functions 2017-11-29 00:28:58 +09:00
nand_bch.h mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
nand_ecc.h include/linux/mtd: Update copyright notices 2015-11-12 13:19:03 -05:00
nand.h mtd: nand: Support controllers with custom page 2017-11-29 00:28:58 +09:00
ndfc.h Add support for AMCC Sequoia PPC440EPx eval board 2006-09-07 11:51:23 +02:00
omap_elm.h mtd: nand: omap_elm: use macros for register definitions 2014-06-06 17:45:50 -04:00
omap_gpmc.h armv7: armv7: introduce set_gpmc_cs0 2016-07-22 14:46:11 -04:00
onenand_regs.h Flex-OneNAND driver support 2009-11-13 16:56:18 -06:00
onenand.h linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
partitions.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
samsung_onenand.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
st_smi.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ubi.h ubi,ubifs: sync with linux v4.2 2015-10-26 09:22:36 +01:00