HiFive Unleashed A00 board has is25wp256d snor chip. It is observed that it gets configured with Serial Input Page program by the end of spi_nor_scan. Using the post bfpt fixup hook we prioritize the page program settings to use quad input page program (opcode:0x34) over serial input page program (opcode: 0x12). The patchset is tested on Linux 5.7.0-rc5. Changelog: =============================== V1: -Moved SPI_SIFIVE from defconfig to Kconfig.socs for SOC_SIFIVE. Retained it's configurability using "imply" instead of "select" V0: Base version patch (Tested on 5.7.0-rc3). Sagar Shrikant Kadam (2): riscv: defconfig: enable spi nor on Hifive Unleashed A00 board. spi: nor: update page program settings for is25wp256 using post bfpt fixup arch/riscv/Kconfig.socs | 1 + arch/riscv/configs/defconfig | 3 ++- drivers/mtd/spi-nor/issi.c | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) -- 2.7.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/