projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: Report movli.l/movco.l capabilities.
[linux-2.6]
/
drivers
/
mtd
/
chips
/
jedec.c
diff --git
a/drivers/mtd/chips/jedec.c
b/drivers/mtd/chips/jedec.c
index
c40b48d
..
2c3f019
100644
(file)
--- a/
drivers/mtd/chips/jedec.c
+++ b/
drivers/mtd/chips/jedec.c
@@
-256,6
+256,7
@@
static struct mtd_info *jedec_probe(struct map_info *map)
MTD->name = map->name;
MTD->type = MTD_NORFLASH;
MTD->flags = MTD_CAP_NORFLASH;
+ MTD->writesize = 1;
MTD->erasesize = SectorSize*(map->buswidth);
// printk("MTD->erasesize is %x\n",(unsigned int)MTD->erasesize);
MTD->size = priv->size;