[PATCH v2 0/5] sunxi: SPL SPI booting: Enable R40 and H6 SoCs
jagan at amarulasolutions.com
Wed Mar 18 13:43:15 CET 2020
On Tue, Jan 28, 2020 at 6:17 AM Andre Przywara <andre.przywara at arm.com> wrote:
> This series enables the SPI booting feature for Allwinner R40 and H6
> SoCs. To achieve this, we enable our spl_spi_sunxi.c driver to deal
> with those two SoCs. The R40 is pretty straightforward, as it just needs
> its base address adjusted. This is prepared in patch 1/5 and finalised
> in patch 3/5.
> For the H6, on top of yet another different base address, the new clocks
> and slightly different pinmux setup need to be cared for.
> Patch 2/5 and 4/5 take care of that.
> Patch 5/5 enables this feature for the Pine H64 board, which comes with
> soldered SPI flash.
> This has been tested on the Pine H64 board and a Bananapi M2 Berry
> (with SPI flash connected to the SPI0-PortC header pins).
> For the existing SPI boot platforms this does not change the code size,
> as the toolchain is clever enough to optimise this properly.
> There is a similar series to enable SPI support for the sunxi-fel tool,
> which was used to test this:
> Changelog v1 .. v2:
> - Drop already merged patch 1/6
> - rename is_new_gen_spi() to is_sun6i_gen_spi()
Applied to u-boot-sunxi/master
More information about the U-Boot