Skip to contentSkip to conversation

OneNAND: Save version_id in onenand_chip struct

PATCH New Stefan Roese 2 participants 2 messages Nov 11, 2008 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OneNAND: Save version_id in onenand_chip struct

The version (ver_id) was not stored in the onenand_chip structure and because of this the continuous locking scheme could be enabled on some chips.

---
This patch has to be applied on top of the patch submitted by Kyungmin Park on 2008-11-04:
[PATCH] [OneNAND] Sync with 2.6.27

 drivers/mtd/onenand/onenand_base.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mtd/onenand/onenand_base.c +1 -0
index 8d004d3..f62b1aa 100644
@@ -1970,6 +1970,7 @@ static int onenand_probe(struct mtd_info *mtd)
 	/* Flash device information */
 	mtd->name = onenand_print_device_info(dev_id, ver_id);
 	this->device_id = dev_id;
+	this->version_id = ver_id;
 
 	density = onenand_get_density(dev_id);
 	this->chipsize = (16 << density) << 20;
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 OneNAND: Save version_id in onenand_chip struct

Quoted 5 lines · Stefan Roese

The version (ver_id) was not stored in the onenand_chip structure and because of this the continuous locking scheme could be enabled on some chips.

Applied to u-boot-nand-flash/next.

-Scott