u-boot-2016/include/linux
Rafał Miłecki 323a73adc9 mtd: nand: add new enum for storing ECC algorithm
Our nand_ecc_modes_t is already a bit abused by value NAND_ECC_SOFT_BCH.
This enum should store ECC mode only and putting algorithm details there
is a bad idea. It would result in too many values impossible to support
in a sane way.

To solve this problem let's add a new enum. We'll have to modify all
drivers to set it properly but once it's done it'll be possible to drop
NAND_ECC_SOFT_BCH. That will result in a cleaner design and more
possibilities like setting ECC algorithm for hardware ECC mode.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[Linux commit: b0fcd8ab7b3c89b5da7fff5224d06ed73e7a33cc]
[Philippe Reynes: adapt code to u-boot]
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
2018-07-23 14:33:21 -04:00
..
byteorder include/linux/byteorder: Sync to latest Linux definitions 2018-06-12 18:44:00 -04:00
mtd mtd: nand: add new enum for storing ECC algorithm 2018-07-23 14:33:21 -04:00
unaligned
usb usb: common: add support to get maximum speed from dt 2018-05-18 13:23:10 +02:00
apm_bios.h
arm-smccc.h
bch.h
bitfield.h
bitops.h
bitrev.h
bug.h bug.h: introduce WARN_ONCE 2018-06-07 17:08:06 -04:00
build_bug.h
compat.h lib: Add hexdump 2018-06-13 07:49:12 -04:00
compiler-clang.h
compiler-gcc.h
compiler-intel.h
compiler.h
crc7.h
crc8.h
crc32.h
ctype.h
delay.h
dma-direction.h
drm_dp_helper.h
edd.h
err.h
errno.h
ethtool.h
fb.h
immap_qe.h
input.h
io.h
ioctl.h
iopoll.h
ioport.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
kbuild.h
kconfig.h
kernel.h
libfdt.h
libfdt_env.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-05-31 08:53:11 -04:00
linkage.h
linux_string.h
list.h
list_sort.h
log2.h
lzo.h
math64.h
mbus.h
mc146818rtc.h
mdio.h
mii.h
netdevice.h
poison.h
posix_types.h
printk.h
psci.h
rbtree.h
rbtree_augmented.h
screen_info.h
serial_reg.h
sizes.h
stat.h
stddef.h
string.h
stringify.h
time.h
typecheck.h
types.h