u-boot/nand_spl
Scott Wood 25efd99dbb nand_spl: store ecc data on the stack
Adapt the following patch from spl to nand_spl:

  Author: Stefano Babic <sbabic@denx.de>
  Date:   Thu Dec 15 10:55:37 2011 +0100

      nand_spl_simple: store ecc data on the stack

      Currently nand_spl_simple puts it's temp data at 0x10000 offset in SDRAM
      which is likely to contain already loaded data.
      The patch saves the oob data and the ecc on the stack replacing
      the fixed address in RAM.

      Signed-off-by: Stefano Babic <sbabic@denx.de>
      CC: Ilya Yanok <yanok@emcraft.com>
      CC: Scott Wood <scottwood@freescale.com>
      CC: Tom Rini <tom.rini@gmail.com>
      CC: Simon Schwarz <simonschwarzcor@googlemail.com>
      CC: Wolfgang Denk <wd@denx.de>
      Signed-off-by: Scott Wood <scottwood@freescale.com>

While nand_spl is on its way out, in favor of spl, there are still
many boards using it, and conversions are gradual.  This allows us
to get rid of CONFIG_SYS_NAND_ECCSTEPS and CONFIG_SYS_NAND_ECCTOTAL now,
which would otherwise be likely to linger unreferenced after a conversion.

It also eliminates a temporary error in the hawkboard_nand build, since
the spl version of the patch removed ECCSTEPS/TOTAL from hawkboard.h, but
the spl conversion is pending (and may be merged via a different tree).

Signed-off-by: Scott Wood <scottwood@freescale.com>
2012-01-26 16:09:06 -06:00
..
board davinci: Remove unwanted memsize.c from hawkboard's nand spl build 2011-12-06 23:59:41 +01:00
nand_boot.c nand_spl: store ecc data on the stack 2012-01-26 16:09:06 -06:00
nand_boot_fsl_elbc.c nand/spl: Assuming a static nand page size to reduce code size 2011-04-15 15:53:11 -05:00
nand_boot_fsl_ifc.c nand: Freescale Integrated Flash Controller NAND support 2011-09-29 19:01:04 -05:00
nand_boot_fsl_nfc.c IMX: MX31: Cleanup include files and drop nasty #ifdef in drivers 2011-04-27 19:38:05 +02:00