summaryrefslogtreecommitdiff
path: root/ubi-utils
diff options
context:
space:
mode:
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>2023-11-07 18:23:57 +0900
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-11-13 09:03:00 +0100
commit71edfe3b5a51ea9a7fac9760804db328ea1ec8a0 (patch)
tree62f9cb8815e5d72799e3b8a72a8d810d9b31e381 /ubi-utils
parentaaa77f94ce6e03d9730f62004347ec2bbf11cfb1 (diff)
mtd-utils: flash_erase: Add an option for JFFS2 cleanmarker size
JFFS2 supports buffer mode for ECC'd NOR Flash that cleanmarker size is rounded up to mtd->writesize, while the '-j' option in flash_erase utility uses fixed 12 bytes. That makes flash program ops unaligned to mtd->writesize and causes program error or disables ECC. The mkfs.jffs2 utility supports '-c' option that allows users to specify cleanmarker size. This patch implements '-c' option in the flash_erase that can be used along with '-j' option. Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubi-utils')
0 files changed, 0 insertions, 0 deletions