Re: [RFC PATCH 1/3] mtd: spi-nor: Introduce SNOR_F_IO_MODE_EN_VOLATILE

2020-09-29 Thread Vignesh Raghavendra
On 9/29/20 3:29 PM, Tudor Ambarus wrote: > We don't want to enter a stateful mode, where a X-X-X I/O mode > is entered by setting a non-volatile bit, because in case of a > reset or a crash, once in the non-volatile mode, we may not be able > to recover in bootloaders and we may break the SPI

[RFC PATCH 1/3] mtd: spi-nor: Introduce SNOR_F_IO_MODE_EN_VOLATILE

2020-09-29 Thread Tudor Ambarus
We don't want to enter a stateful mode, where a X-X-X I/O mode is entered by setting a non-volatile bit, because in case of a reset or a crash, once in the non-volatile mode, we may not be able to recover in bootloaders and we may break the SPI NOR boot. Forbid by default the I/O modes that are