public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 0/4] mtd: spi: spi-nor: rk3399: rock-pi-4: u-boot/next Support SPI NOR Flash in Rock Pi 4 (XTX xt25f32b)
@ 2022-07-20 15:32 Xavier Drudis Ferran
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Drudis Ferran @ 2022-07-20 15:32 UTC (permalink / raw)
  To: u-boot

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/master.

Changes since v2:

   - rebased on master
 
   - droped 5th path, and enabled CONFIG_SPL_DM_SEQ_ALIAS instead
     to have the flash on spi1 both on SPL and U-Boot proper.

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread
* [PATCH v3 0/4] mtd: spi: spi-nor: rk3399: rock-pi-4: u-boot/next Support SPI NOR Flash in Rock Pi 4 (XTX xt25f32b)
@ 2022-07-20 15:36 Xavier Drudis Ferran
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Drudis Ferran @ 2022-07-20 15:36 UTC (permalink / raw)
  To: u-boot

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/master.

Changes since v2:

   - rebased on master
 
   - droped 5th path, and enabled CONFIG_SPL_DM_SEQ_ALIAS instead
     to have the flash on spi1 both on SPL and U-Boot proper.

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-20 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-20 15:32 [PATCH v3 0/4] mtd: spi: spi-nor: rk3399: rock-pi-4: u-boot/next Support SPI NOR Flash in Rock Pi 4 (XTX xt25f32b) Xavier Drudis Ferran
  -- strict thread matches above, loose matches on Subject: below --
2022-07-20 15:36 Xavier Drudis Ferran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox