[Skiboot] [PATCH v2 1/3] external/common: Teach ARM code to erase 'mtd chips'

Joel Stanley joel at jms.id.au
Tue Nov 8 17:18:47 AEDT 2016


On Tue, Nov 8, 2016 at 4:38 PM, Cyril Bur <cyril.bur at au1.ibm.com> wrote:
> Currently the arch flash code for all architectures can only perform
> chip erases if there is a real flash driver attached.
>
> With increasing use of MTD on both host and BMC this code needs to know
> how to behave of the backend of blocklevel is MTD.
>
> This patch teaches the ARM specific code to pass an erase for the full
> size of the chip down the stack. This can be optimised into a chip erase
> within the kernel.
>
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>

Reviewed-by: Joel Stanley <joel at jms.id.au>


More information about the Skiboot mailing list