[RFC PATCH v1 1/3] sunxi: SPL SPI: Add SPI boot support for the Allwinner R528/T113 SoCs

Sam Edwards cfsworks at gmail.com
Mon Jun 5 23:07:39 CEST 2023


On 5/19/23 07:40, Maxim Kiselev wrote:
> R528/T113 SoCs uses the same SPI IP as the H6, also have the same clocks
> and reset bits layout, but the CCU base is different. Another difference
> is that the new SoCs do not have a clock divider inside. Instead of this
> we should configure sample mode depending on input clock rate.
> 
> The pin assignment is also different: the H6 uses PC0, the R528/T113 PC4
> instead. This makes for a change in spi0_pinmux_setup() routine.
> 
> This patch extends the H6/H616 #ifdef guards to also cover the R528/T113,
> using the shared CONFIG_SUNXI_GEN_NCAT2 and CONFIG_MACH_SUN8I_R528
> symbols. Also use CONFIG_SUNXI_GEN_NCAT2 symbol for the Kconfig
> dependency.
> 
> Signed-off-by: Maxim Kiselev <bigunclemax at gmail.com>

Hi Maksim!

It took me a while on my end to get around to this one, but (with 
Icenowy's SPL from SPI-NAND patchset):

Tested-by: Sam Edwards <CFSworks at gmail.com>

Many thanks,
Sam


More information about the U-Boot mailing list