[PATCH v2 1/3] mtd: spi-nor: intel-spi: Disable write protection only if asked
Lee Jones
lee.jones at linaro.org
Thu Oct 21 03:56:53 PDT 2021
On Thu, 07 Oct 2021, Mika Westerberg wrote:
> Currently the driver tries to disable the BIOS write protection
> automatically even if this is not what the user wants. For this reason
> modify the driver so that by default it does not touch the write
> protection. Only if specifically asked by the user (setting writeable=1
> command line parameter) the driver tries to disable the BIOS write
> protection.
>
> Signed-off-by: Mika Westerberg <mika.westerberg at linux.intel.com>
> ---
> drivers/mfd/lpc_ich.c | 59 +++++++++++++++++--
> .../mtd/spi-nor/controllers/intel-spi-pci.c | 29 +++++----
> drivers/mtd/spi-nor/controllers/intel-spi.c | 41 ++++++-------
> include/linux/platform_data/x86/intel-spi.h | 6 +-
> 4 files changed, 96 insertions(+), 39 deletions(-)
For the MFD parts:
Acked-by: Lee Jones <lee.jones at linaro.org>
Whoever ends up taking this needs to send out a pull-request to an
immutable branch please.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
More information about the linux-mtd
mailing list