u-boot-brain/drivers
pekon gupta 3f719069c8 mtd: nand: omap: add CONFIG_NAND_OMAP_ECCSCHEME for selection of ecc-scheme
This patch adds new CONFIG_NAND_OMAP_ECCSCHEME, replacing other distributed
CONFIG_xx used for selecting NAND ecc-schemes.
This patch aims at solving following issues.

1) Currently ecc-scheme is tied to SoC platform, which prevents user to select
   other ecc-schemes also supported in hardware. like;
 - most of OMAP3 SoC platforms use only 1-bit Hamming ecc-scheme, inspite
   the fact that they can use higher ecc-schemes like 8-bit ecc-schemes with
   software based error detection (OMAP_ECC_BCH4_CODE_HW_DETECTION_SW).
 - most of AM33xx SoC plaforms use 8-bit BCH ecc-scheme for now, but hardware
   supports BCH16 ecc-scheme also.

2) Different platforms use different CONFIG_xx to select ecc-schemes, which
   adds confusion for user while migrating platforms.
 - *CONFIG_NAND_OMAP_ELM* which enables ELM hardware engine, selects only
    8-bit BCH ecc-scheme with h/w based error-correction (OMAP_ECC_BCH8_CODE_HW)
    whereas ELM hardware engine supports other ecc-schemes also like; BCH4,
    and BCH16 (in future).
 - *CONFIG_NAND_OMAP_BCH8* selects 8-bit BCH ecc-scheme with s/w based error
    correction (OMAP_ECC_BCH8_CODE_HW_DETECTION_SW).
 - *CONFIG_SPL_NAND_SOFTECC* selects 1-bit Hamming ecc-scheme using s/w library

Thus adding new *CONFIG_NAND_OMAP_ECCSCHEME* de-couples ecc-scheme dependency
on SoC platform and NAND driver. And user can select ecc-scheme independently
foreach board.
However, selection some hardware based ecc-schemes (OMAP_ECC_BCHx_CODE_HW) still
depends on presence of ELM hardware engine on SoC. (Refer doc/README.nand)

Signed-off-by: Pekon Gupta <pekon@ti.com>
2013-11-21 13:33:41 -06:00
..
bios_emulator drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
block drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
bootcount Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
crypto drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
dfu usb: dfu: make nand upload working 2013-11-08 20:46:20 +01:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga fpga: zynqpl: Do not place bitstream below 1MB 2013-11-06 09:15:12 +01:00
gpio Add support for SX151x SPI GPIO Expanders 2013-11-08 09:39:13 -05:00
hwmon cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
i2c drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
input drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
misc drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
mmc drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
mtd mtd: nand: omap: add CONFIG_NAND_OMAP_ECCSCHEME for selection of ecc-scheme 2013-11-21 13:33:41 -06:00
net MPC824x: remove obsolete "PN62" board 2013-11-11 14:46:24 -05:00
pci malta: support for coreFPGA6 boards 2013-11-09 17:21:01 +01:00
pcmcia drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
power drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
qe drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
rtc Merge branch 'master' of git://git.denx.de/u-boot-mips 2013-11-11 09:40:34 -05:00
serial serial: s5p: Staticize local functions 2013-11-08 15:25:14 -05:00
sound drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
spi spi: omap3: add support for more word lengths 2013-11-12 10:02:44 +01:00
tpm drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
video lcd: add DataImage SCF0403x LCD panel support 2013-11-12 10:08:48 +01:00
watchdog Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
Makefile drivers: move some drivers to drivers/Makefile 2013-10-31 13:26:44 -04:00