u-boot/drivers
Khoronzhuk, Ivan 67ac6ffaee mtd: nand: davinci: add opportunity to write keystone U-boot image
The Keystone SoCs use the same NAND driver as Davinci.
This patch adds opportunity to write Keystone U-boot image to NAND
device using appropriate RBL ECC layout. This is needed only if RBL
boots U-boot from NAND device and that's supposed that raw u-boot
partition is used only for writing image.

The main problem is that default Davinci ECC layout is different from
Keystone RBL layout. To read U-boot image the RBL needs that image was
written using RBL ECC layout.

The BBT table is written using default Davinci layout and has to
be updated using one. The BBT can be updated only while erasing
chip or by forced bad block assigning, so erase function has to
use native ecc layout in order to be able to write BBT correctly.
So if we're writing to NAND U-boot address we use RBL layout for
others we use default ECC layout.

Also remove definition for CONFIG_CMD_NAND_ECCLAYOUT as there is no
reasons to use ECC layout commands. It was added by mistake.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
2014-07-25 15:21:06 -04:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block dwc_ahsata: return failure for MX6 if not IMX6Q/IMX6D 2014-06-06 10:14:07 +02:00
bootcount i2c, bootcount: add support for bootcounter on i2c devices 2014-02-20 06:46:56 +01:00
core dm: Cast away the const-ness of the global_data pointer 2014-06-20 11:55:49 -06:00
crypto includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
ddr/fsl driver/ddr/fsl: Fix printing unspecified module info for DDR4 2014-06-05 13:45:07 -07:00
demo dm: Rename struct device_id to udevice_id 2014-06-20 11:55:18 -06:00
dfu dfu: Disable default calculation of CRC32 2014-06-11 02:31:48 +02:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga m68k: Fix warnings with gcc 4.6 2014-06-11 16:27:05 -04:00
gpio gpio: spear_gpio: Fix gpio_set_value() implementation 2014-07-04 21:37:29 +02:00
hwmon kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
i2c ARMv8/FSL_LSCH3: Add FSL_LSCH3 SoC 2014-07-03 08:40:51 +02:00
input cros_ec: Support systems with no EC interrupt 2014-03-17 20:05:46 -06:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
mmc includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
mtd mtd: nand: davinci: add opportunity to write keystone U-boot image 2014-07-25 15:21:06 -04:00
net drivers: net: cpsw: add support for using second port as ethernet 2014-07-25 15:21:05 -04:00
pci fsl/pci: Add workaround for erratum A-005434 2014-05-16 16:24:26 -05:00
pcmcia powerpc: remove RPXClassic, RPXlite boards support 2014-04-18 10:42:30 -04:00
power tps65218/am43xx_evm: Add power framework support to TPS65218 2014-07-25 15:21:06 -04:00
qe qe: disable qe when qe-ucode fails to be uploaded for "deep sleep" 2014-05-13 08:26:56 -07:00
rtc kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
serial serial_mxc: disable new features of autobaud detection 2014-05-28 17:37:47 +02:00
sound sound: Move Samsung-specific code into its own file 2014-03-17 20:05:49 -06:00
spi arm: ep9315: Return back Cirrus Logic EDB9315A board support 2014-07-04 23:45:48 +02:00
tpm sandbox: tpm: Fix nvwrite command 2014-01-08 17:26:17 -07:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb arm: ep9315: Return back Cirrus Logic EDB9315A board support 2014-07-04 23:45:48 +02:00
video video: atmel_hlcdfb: enable dcache support 2014-06-14 18:07:02 +02:00
watchdog watchdog/denali: Adding DesignWare watchdog driver support 2014-07-05 00:24:16 +02:00
Makefile ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00