[U-Boot] [PATCH] Tricorder: Store ecc data on stack

This patch removes ONFIG_SYS_NAND_ECCSTEPS and CONFIG_SYS_NAND_ECCTOTAL from tricorder config. The ecc data are stored on stack after:
commit 25efd99dbb1352314c9eacdfae42064c2ca15499 nand_spl: store ecc data on the stack
Signed-off-by: Thomas Weber weber@corscience.de --- include/configs/tricorder.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index 0e8003f..a2bff2b 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder.h @@ -305,11 +305,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

On Mon, Feb 13, 2012 at 2:35 AM, Thomas Weber weber@corscience.de wrote:
This patch removes ONFIG_SYS_NAND_ECCSTEPS and CONFIG_SYS_NAND_ECCTOTAL from tricorder config. The ecc data are stored on stack after:
commit 25efd99dbb1352314c9eacdfae42064c2ca15499 nand_spl: store ecc data on the stack
Can you go and delete all of these unused defines now? Thanks!

Signed-off-by: Thomas Weber weber@corscience.de --- include/configs/mcx.h | 5 ----- include/configs/omap3_overo.h | 4 ---- include/configs/tricorder.h | 5 ----- 3 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/include/configs/mcx.h b/include/configs/mcx.h index 0940e86..f3d26ea 100644 --- a/include/configs/mcx.h +++ b/include/configs/mcx.h @@ -351,11 +351,6 @@ #define CONFIG_SYS_NAND_ECCSIZE 256 #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 diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index bfd4570..64adc74 100644 --- a/include/configs/omap3_overo.h +++ b/include/configs/omap3_overo.h @@ -339,10 +339,6 @@ 10, 11, 12, 13} #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
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index f87696b..f05b6ec 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder.h @@ -304,11 +304,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
participants (2)
-
Thomas Weber
-
Tom Rini