[Skiboot] [PATCH] flash: Support adding the no-erase property to flash
stewart at linux.vnet.ibm.com
Tue Sep 5 15:03:48 AEST 2017
"William A. Kennington III" <wak at google.com> writes:
> Currently, flash devices like mbox-flash ignore erase commands. This
> means that issuing an erase from userspace, through the mtd device, and
> back returns a successful operation that does nothing. Unfortunately
> this makes userspace tools unhappy. Linux MTD devices support the
> MTD_NO_ERASE flag which conveys that writes do not require erases on the
> underlying flash devices. We should set this property on all of our
> devices which do not require erases to be performed.
> NOTE: This still requires a linux kernel component to set the
> MTD_NO_ERASE flag from the device tree property.
> Signed-off-by: William A. Kennington III <wak at google.com>
Thanks! Merged to master (with slight reword based on Suraj's
suggestion) as of ba99af9b149d02438347b055e6e7d6bd15e33551
OPAL Architect, IBM.
More information about the Skiboot