diff options
author | Stefano Babic <sbabic@denx.de> | 2011-12-15 10:55:37 +0100 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2012-01-26 16:06:21 -0600 |
commit | d3022c5f5ce1bff39a58bce2b00b36f2fed0e299 (patch) | |
tree | cd0b4e375139aefe779ea827bc52951c3e34051c /include/configs/devkit8000.h | |
parent | 137703b811502dfea364650fb3e17f20b4c21333 (diff) | |
download | u-boot-imx-d3022c5f5ce1bff39a58bce2b00b36f2fed0e299.zip u-boot-imx-d3022c5f5ce1bff39a58bce2b00b36f2fed0e299.tar.gz u-boot-imx-d3022c5f5ce1bff39a58bce2b00b36f2fed0e299.tar.bz2 |
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>
Diffstat (limited to 'include/configs/devkit8000.h')
-rw-r--r-- | include/configs/devkit8000.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index 758326b..2b6a6ee 100644 --- a/include/configs/devkit8000.h +++ b/include/configs/devkit8000.h @@ -343,11 +343,6 @@ #define CONFIG_SYS_NAND_ECCSIZE 512 #define CONFIG_SYS_NAND_ECCBYTES 3 -#define CONFIG_SYS_NAND_ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \ - CONFIG_SYS_NAND_ECCSIZE) -#define CONFIG_SYS_NAND_ECCTOTAL (CONFIG_SYS_NAND_ECCBYTES * \ - CONFIG_SYS_NAND_ECCSTEPS) - #define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000 |