summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-11-19 23:18:29 -0500
committerTom Rini <trini@ti.com>2014-11-19 23:18:29 -0500
commit4d70b34d7f721d8b1d4d628e68c3a44ab7a10dff (patch)
treedc11891c269c601a8c0a610bb0019b3aee3738c1 /drivers
parentc44d3cd1c436af20ffc5f70451151f4de69a2278 (diff)
parentd1cfeee916fe86eddd944f7363f9d2884bdd9814 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-ubi
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/cfi_mtd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/cfi_mtd.c b/drivers/mtd/cfi_mtd.c
index ac805ff1e9..709a48642d 100644
--- a/drivers/mtd/cfi_mtd.c
+++ b/drivers/mtd/cfi_mtd.c
@@ -226,6 +226,7 @@ int cfi_mtd_init(void)
mtd->flags = MTD_CAP_NORFLASH;
mtd->size = fi->size;
mtd->writesize = 1;
+ mtd->writebufsize = mtd->writesize;
mtd->_erase = cfi_mtd_erase;
mtd->_read = cfi_mtd_read;