projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fca331
)
OneNAND: Save version_id in onenand_chip struct
author
Stefan Roese
<sr@denx.de>
Tue, 11 Nov 2008 09:29:09 +0000
(10:29 +0100)
committer
Scott Wood
<scottwood@freescale.com>
Fri, 23 Jan 2009 16:32:46 +0000
(10:32 -0600)
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.
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/onenand/onenand_base.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/onenand/onenand_base.c
b/drivers/mtd/onenand/onenand_base.c
index 8d004d383b64448f35abb1965f361ce8c413585a..f62b1aa25a64d3d04311d342a021d2f40e90baea 100644
(file)
--- a/
drivers/mtd/onenand/onenand_base.c
+++ b/
drivers/mtd/onenand/onenand_base.c
@@
-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;