Jagan Teki
286bcdb40f
sifive: fu540: Enable spi-nor flash support
HiFive Unleashed A00 support is25wp256 spi-nor flash,
So enable the same and add test result log for future
reference.
Tested on SiFive FU540 board.
Thanks to Sagar for various use cases and tests.
[QUAD mode in dt with spi-tx-bus-width: <4>]
pp opcode = 0x34 [QUAD MODE]
read opcode = 0x6c [QUAD MODE]
erase opcode = 0x21
SPI-NOR:
1. erase entire flash: Pass
2. write entire flash: Pass
3. read entire flash: Pass
4. cmp 32MiB read back data: Pass
5. MMC: Booted Linux and dtb from mmc
[SPI MODE in dt with spi-tx-bus-width: <1>]
pp opcode = 0x12 [SPI MODE]
read opcode = 0xc [SPI MODE]
erase opcode = 0x21
SPI-NOR:
1. erase entire flash: Pass
2. write entire flash: Pass
3. read entire flash: Pass
4. cmp 32MiB read back data: Pass
5. MMC: Booted Linux and dtb from mmc
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Sagar Kadam <sagar.kadam@sifive.com>
2020-04-30 22:34:20 +05:30
..
2020-04-27 15:04:42 +03:00
2020-04-28 10:09:16 -04:00
2020-04-10 11:18:32 -04:00
2020-03-16 16:42:50 -04:00
2020-04-27 20:30:14 +02:00
2020-02-19 21:27:30 +08:00
2020-01-24 23:06:49 +05:30
2020-04-20 13:35:11 +05:30
2020-04-30 22:34:20 +05:30
2020-04-16 23:06:54 -04:00
2020-02-20 15:09:54 +08:00
2020-04-16 14:36:28 +08:00
2020-02-20 15:09:54 +08:00
2020-04-16 08:07:58 -06:00
2020-04-03 11:52:55 -04:00