summaryrefslogtreecommitdiffstats
path: root/fs/jffs2
diff options
context:
space:
mode:
authorAaron Sierra <asierra@xes-inc.com>2014-09-25 12:20:24 -0500
committerBrian Norris <computersforpeace@gmail.com>2015-01-09 23:24:27 -0800
commit6958024ad5cdd78deae4da47a8722b06317dff45 (patch)
tree14e081920d299eab8c7fa7ece0f67aefd60c37df /fs/jffs2
parent3fc1cf5f0af4b625adff03c610f188fa8bc89911 (diff)
downloadop-kernel-dev-6958024ad5cdd78deae4da47a8722b06317dff45.zip
op-kernel-dev-6958024ad5cdd78deae4da47a8722b06317dff45.tar.gz
mtd: map_rom: Support UBI on ROM
UBI needs to know the physical erase block size, even on read-only devices, since it defines the on-device layout. Use a device-tree provided value to support previously written UBI on read-only NOR. UBI also needs a non-zero writebufsize, so we set it to one. Note: This was implemented because hardware write-protected CFI NOR cannot be probed for the physical erase block size. Signed-off-by: Joe Schultz <jschultz@xes-inc.ccom> Signed-off-by: Aaron Sierra <asierra@xes-inc.ccom> [Brian: removed unneeded #ifdef, note 'optional' erase-size property] Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud