Skip to contentSkip to conversation

mtd: spi: arm: rk3399: rock-pi-4: u-boot/next Support SPI NOR Flash in Rock Pi 4 (XTX xt25f32b)

PATCH Superseded Xavier Drudis Ferran 1 participant 2 messages Jul 15, 2022

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover mtd: spi: arm: rk3399: rock-pi-4: u-boot/next Support SPI NOR Flash in Rock Pi 4 (XTX xt25f32b)

The Radxa Rock Pi 4 board is sold from revision 1.4 with a soldered 4Mb SPI NOR Flash. This series allows to use it from U-Boot and boot from it.

This series applies to u-boot/next.

Changes since v1:

- Changed bus number to 1 in SPL to match U-Boot proper (before it was bus 0 in SPL and bus 1 in U-Boot).

- Generalization. v1 did a first soft_reset in 8_8_8_DTR but that wouldn't work since Pratyush Yadav fixed supports_op() in commit 5752d6ae8daacbd ("spi: spi-mem: add spi_mem_dtr_supports_op()"). So now we try a few protocols until 1_1_1 is supported by controller and device. Might work for more systems.

#1 lore raw

Oops. Sorry to mess up the Reply-To.
I meant to send 1/5 .. 5/5 as replies to 0/5 but I sent them out of mail thread.