[PATCH 4/4] mtd: intel-spi: add read only stubs

Mika Westerberg mika.westerberg at linux.intel.com
Mon Sep 13 03:06:00 PDT 2021


On Fri, Sep 10, 2021 at 06:13:48PM -0300, Mauro Lima wrote:
> Add read only stub functions (as __weak) in read only mode,
> so they can be override on read-write mode.
> Remove the (DANGEROUS) tag in read only mode.
> Add write mode option if pci or platform driver is selected.
> Change the intel-spi recepie to be able to build read only
> or read-write mode.

This looks pretty convoluted way to get rid of the "DANGEROUS" in the
name ;-)

What is the firmware information fwupd is looking for? Perhaps there are
other, better, ways to do this?



More information about the linux-mtd mailing list