summaryrefslogtreecommitdiff
path: root/drivers/mtd/devices/lart.c
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-03-30 14:04:31 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-03-30 14:04:31 +0200
commita23184ff45e565dc7275fa5b49aca4cd2762a4c6 (patch)
tree8d47b65e6f94b45903cd032fc1926120adb8f9bd /drivers/mtd/devices/lart.c
parente797e34a3f7cb82c4e5b249a525c9e857ac6eebd (diff)
parentf1a60a56b7ac367b5285694cd02574e4edbe4c47 (diff)
Merge remote-tracking branch 'remotes/ubifs-v3.1/master' into tegra-nand-next
Conflicts: drivers/mtd/ubi/ubi.h drivers/mtd/ubi/wl.c
Diffstat (limited to 'drivers/mtd/devices/lart.c')
-rw-r--r--drivers/mtd/devices/lart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/devices/lart.c b/drivers/mtd/devices/lart.c
index 772a0ff89e0f..09d5b5aaea57 100644
--- a/drivers/mtd/devices/lart.c
+++ b/drivers/mtd/devices/lart.c
@@ -636,6 +636,7 @@ static int __init lart_flash_init (void)
mtd.name = module_name;
mtd.type = MTD_NORFLASH;
mtd.writesize = 1;
+ mtd.writebufsize = 4;
mtd.flags = MTD_CAP_NORFLASH;
mtd.size = FLASH_BLOCKSIZE_PARAM * FLASH_NUMBLOCKS_16m_PARAM + FLASH_BLOCKSIZE_MAIN * FLASH_NUMBLOCKS_16m_MAIN;
mtd.erasesize = FLASH_BLOCKSIZE_MAIN;