Skip to contentSkip to conversation

omap-hw: kill eccsize

PATCH In review Arnaud Patard (Rtp) 2 participants 2 messages Mar 5, 2007 – Mar 6, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap-hw: kill eccsize

mtd->eccsize has been removed in commit mtd->64f60710568db5cec1a76c1d1e261b239f9ef809. Let's remove it in the mtd->omap-hw driver.

---
drivers/mtd/nand/omap-hw.c | 1 0 + 1 - 0 !

 1 file changed, 1 deletion(-)
drivers/mtd/nand/omap-hw.c +0 -1
Index: linux-omap-2.6/drivers/mtd/nand/omap-hw.c
===================================================================
@@ -824,7 +824,6 @@ static int __init omap_nand_init(void)
 		this->ecc.steps = 1;
 		this->ecc.size = 2048;
 		this->ecc.bytes = 12;
-		omap_mtd->eccsize = 2048;
 		nand_write_reg(NND_ECC_SELECT, 6);
 	}
 
#1 lore raw
Quoted 16 lines · Arnaud Patard

mtd->eccsize has been removed in commit mtd->64f60710568db5cec1a76c1d1e261b239f9ef809. Let's remove it in the mtd->omap-hw driver.

---
drivers/mtd/nand/omap-hw.c | 1 0 + 1 - 0 !

 1 file changed, 1 deletion(-)

Index: linux-omap-2.6/drivers/mtd/nand/omap-hw.c
===================================================================

drivers/mtd/nand/omap-hw.c static int __init omap_nand_init(void) · line 829

Quoted 7 lines
drivers/mtd/nand/omap-hw.c +0 -1
@@ -824,7 +824,6 @@ static int __init omap_nand_init(void)
 		this->ecc.steps = 1;
 		this->ecc.size = 2048;
 		this->ecc.bytes = 12;
-		omap_mtd->eccsize = 2048;
 		nand_write_reg(NND_ECC_SELECT, 6);
 	}
 

Pushing today.

Tony