]> git.baikalelectronics.ru Git - uboot.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)
commitee17c3e3d5975c87549b01eeba9a51413bfa1ec2
treebf7cb0658f5ec1fb716ae9e12190ca58155a5017
parent7d2c249aeb60bae810444c529109a842a8dc5d90
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