[PATCH 2/3] sunxi: SPL SPI: Add SPI boot support for the Allwinner H616 SoC

Jagan Teki jagan at amarulasolutions.com
Tue Jul 6 16:22:58 CEST 2021


On Tue, Jul 6, 2021 at 4:35 AM Andre Przywara <andre.przywara at arm.com> wrote:
>
> The H616 SoC uses the same SPI IP as the H6, also shares the same clocks
> and reset bits.
> The only real difference is a slight change in the pin assignment: the
> H6 uses PC5, the H616 PC4 instead. This makes for a small change in
> our spi0_pinmux_setup() routine.
>
> Apart from that, just extend the H6 #ifdef guards to also cover the H616,
> using the shared CONFIG_SUN50I_GEN_H6 symbol.
> Also use this symbol for the Kconfig dependency.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> ---

Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>


More information about the U-Boot mailing list