Skip to contentSkip to conversation

Tricorder: Store ecc data on stack

PATCH New Thomas Weber 2 participants 3 messages Feb 13, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 include/configs/tricorder.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
include/configs/tricorder.h +0 -5
index 0e8003f..a2bff2b 100644
@@ -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
Signature · 1 line
1.7.8.4
#1 lore raw

PATCH 1/1 Tricorder: Store ecc data on stack

Quoted 6 lines · Thomas Weber

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!

Signature · 1 line
Tom
#2 lore raw

PATCH 1/1 OMAP3: Remove unused CONFIG_SYS_NAND_ECCSTEPS/TOTAL

---
 include/configs/mcx.h         |    5 -----
 include/configs/omap3_overo.h |    4 ----
 include/configs/tricorder.h   |    5 -----
 3 files changed, 0 insertions(+), 14 deletions(-)
include/configs/mcx.h +0 -5
index 0940e86..f3d26ea 100644
@@ -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
include/configs/omap3_overo.h +0 -4
index bfd4570..64adc74 100644
@@ -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
 
include/configs/tricorder.h +0 -5
index f87696b..f05b6ec 100644
@@ -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
Signature · 1 line
1.7.9