]> git.dujemihanovic.xyz Git - u-boot.git/commit
mach-sunxi: Add SPL SPI boot for SUNIV
authorJesse Taube <mr.bossman075@gmail.com>
Sat, 12 Feb 2022 00:32:34 +0000 (19:32 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Thu, 3 Mar 2022 01:24:06 +0000 (01:24 +0000)
commit0dcdaff8b88e996de5d9c91141084cbfcfb01be6
treebf7cb0658f5ec1fb716ae9e12190ca58155a5017
parenta08b04b5c75a7e9122dfc733c66b978aa0afe4ba
mach-sunxi: Add SPL SPI boot for SUNIV

The SUNIV SoCs come with a sun6i-style SPI controller at the base address
of sun4i SPI controller. The module clock of the SPI controller is
missing which leaves us running directly from the AHB clock, which is
set to 200MHz.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
[Icenowy: Original implementation]
Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
[Jesse: adaptation to Upstream U-Boot]
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/include/asm/arch-sunxi/gpio.h
arch/arm/mach-sunxi/spl_spi_sunxi.c