u-boot-brain/drivers
Boris Brezillon c4adf9db5d spl: nand: sunxi: remove support for so-called 'syndrome' mode
The sunxi SPL NAND controller driver supports use 'BootROM'-like configs,
that is, configs where the ECC bytes and real data are interleaved in the
page instead of putting ECC bytes in the OOB area.

Doing that has several drawbacks:
- since you're interleaving data and ECC bytes you can't use the whole page
  otherwise you might override the bad block marker with non-FF bytes.
- to solve the bad block marker problem, the ROM code supports partially
  using the page, but this introduces a huge penalty both in term of read
  speed and NAND memory usage. While this is fine for rather small
  binaries(like the SPL one which is at maximum 24KB large), it becomes
  non-negligible for the bootloader image (several hundred of KB).
- auto-detection of the page size is not reliable (this is in my opinion
  the biggest problem). If you get the page size wrong, you'll end up
  reading data at a different offset than what was specified by the caller
  and the reading may succeed (if valid data were written at this address).

For all those reasons I think it's wiser to completely remove support for
'syndrome' configs. If we ever need to support it again, then I'd recommend
specifying all the config parameters through Kconfig options.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
2016-06-19 18:52:35 -05:00
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
block dm: blk: Add functions to select a hardware partition 2016-05-17 09:54:43 -06:00
bootcount bootcounter_ram: Flush dcache after data is written into SDRAM 2016-04-11 20:48:25 -04:00
clk Merge git://git.denx.de/u-boot-dm 2016-05-27 20:34:12 -04:00
core dm: allow setting driver_data before/during bind 2016-05-26 20:48:31 -06:00
cpu x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
crypto crypto/fsl: add support for multiple SEC engines initialization 2016-05-18 08:51:46 -07:00
ddr Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2016-05-24 13:42:03 -04:00
demo drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
dfu nand: Embed mtd_info in struct nand_chip 2016-06-03 20:27:48 -05:00
dma drivers: dma: ti-edma3: convert driver to adopt driver model 2016-02-23 16:14:46 +05:30
fpga fpga: Fix typo in function comment 2016-05-24 11:15:02 +02:00
gpio gpio: mxs: Remove netdev.h 2016-06-02 21:21:41 -04:00
hwmon mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
i2c i2c: mvtwsi: Eliminate twsi_control_flags 2016-05-17 08:32:02 +02:00
input input: i8042: Make sure the keyboard is enabled 2016-03-17 10:27:24 +08:00
led dm: led: Tidy up SPL options for the led and led-gpio 2015-09-02 21:28:22 -06:00
mailbox mailbox: implement a sandbox test 2016-05-26 20:48:31 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc reset: Drop the reset failure message 2016-05-26 20:50:29 -06:00
mmc dm: mmc: Use cfg directly in mmc_bind() 2016-05-27 10:23:10 -06:00
mtd spl: nand: sunxi: remove support for so-called 'syndrome' mode 2016-06-19 18:52:35 -05:00
net nand: Embed mtd_info in struct nand_chip 2016-06-03 20:27:48 -05:00
pch x86: pch9: Implement get_io_base op 2016-02-05 12:47:21 +08:00
pci pci: Drop CONFIG_SYS_SCSI_SCAN_BUS_REVERSE 2016-05-17 09:54:43 -06:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
pinctrl rockchip: rk3288: pinctrl: support more pins 2016-05-27 09:00:48 -06:00
power sunxi: power: add AXP809 support 2016-05-25 17:52:39 +02:00
pwm tegra: video: Move LCD driver to use the DM PWM driver 2016-02-16 09:17:53 -07:00
qe board: ls1043ardb: Add micro QE support for ls1043ardb 2016-02-24 08:51:14 -08:00
ram ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM 2015-08-18 13:46:02 -04:00
remoteproc remoteproc: Add support for TI power processor 2016-03-14 19:18:37 -04:00
rtc rtc: Add MCP79411 support to DS1307 rtc driver 2015-11-04 15:19:12 -08:00
serial serial: 16550: Drop OMAP1510 support 2016-06-02 21:21:41 -04:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2016-05-24 13:42:03 -04:00
spmi spmi: Fix sandbox spmi driver memory corruption 2016-04-11 20:48:22 -04:00
thermal Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
timer Merge git://git.denx.de/u-boot-dm 2016-03-14 19:21:44 -04:00
tpm drivers/tpm/tpm_tis_sandbox.c: Fix uninitialized variable use 2016-04-15 08:14:37 -06:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: phy: omap_usb_phy: Fix USB3_PHY DPLL configuration 2016-06-02 21:42:16 -04:00
video rockchip: video: Flush the cache when the display is updated 2016-05-27 10:23:08 -06:00
watchdog imx_watchdog: always set minimal timeout in reset_cpu 2016-01-07 17:54:53 +01:00
Kconfig Add a mailbox driver framework/uclass 2016-05-26 20:48:31 -06:00
Makefile Add a mailbox driver framework/uclass 2016-05-26 20:48:31 -06:00