Re: [PATCH 2/2] mtd: spi-nor: intel-spi: fix forced writable option

2020-06-02 Thread Daniel Walker (danielwa)
On Thu, May 28, 2020 at 03:55:21PM +, Jinhua Wu (jinhwu) wrote: > On 2020/5/28, 11:48 PM, "Jinhua Wu" wrote: > Hi Vignesh, > BIOS just locked down parts of flash (such as, code region), others are still > writeable. Once the SPI locked down,it can't be override unless platfrom > reset >

Re: [PATCH 2/2] mtd: spi-nor: intel-spi: fix forced writable option

2020-05-28 Thread Jinhua Wu (jinhwu)
On 2020/5/28, 11:48 PM, "Jinhua Wu" wrote: Hi Vignesh, BIOS just locked down parts of flash (such as, code region), others are still writeable. Once the SPI locked down,it can't be override unless platfrom reset and set WPD (write protect disable) will fail, so ispi->writeable will always be 0,

Re: [PATCH 2/2] mtd: spi-nor: intel-spi: fix forced writable option

2020-05-28 Thread Vignesh Raghavendra
On 18/05/20 11:29 pm, Daniel Walker wrote: > This option currently doesn't work as expected. If the BIOS has this > flash as read-only there is no way to change this thru the driver. > There is a parameter which allows the flash to become writable with the > "writable" option to the module, but

[PATCH 2/2] mtd: spi-nor: intel-spi: fix forced writable option

2020-05-18 Thread Daniel Walker
This option currently doesn't work as expected. If the BIOS has this flash as read-only there is no way to change this thru the driver. There is a parameter which allows the flash to become writable with the "writable" option to the module, but it does nothing if the BIOS has it set to read-only.