[PATCH v2 0/3] Add SPI boot to SPL on SUNIV/F1C100s

Andre Przywara andre.przywara at arm.com
Tue Mar 1 14:39:01 CET 2022


On Mon, 28 Feb 2022 23:42:13 -0500
Jesse Taube <mr.bossman075 at gmail.com> wrote:

Hi,

> Hey just checking if you know about this set.

Yeah, I saw that, and am planning on taking it ASAP, so still this
release. However I wanted to have this tested, which is now easier since I
got my LicheePi Nano on Friday. So SPI boot seems to work, but I needed to
fix FEL boot in mainline (see the other patch).

I am not convinced with the uint32_t part, though. I think "int" is fine,
because it's either -1 or the uint8_t returned by readb(), which fits both
nicely and correctly into an "int".

I will do some more testing and then see what other patches I can pick up
(Jernej's PRCM ones, for instance).

Cheers,
Andre

> > This patch adds the ability to detect the BROM's boot source,
> > as well as the ability to boot from SPI.
> > 
> > Jesse Taube (3):
> >    mach-sunxi: Add boot device detection for SUNIV/F1C100s
> >    mach-sunxi: Add SPL SPI boot for SUNIV
> >    mach-sunxi: Enable SPI boot for SUNIV and licheepi nano
> > 
> >   arch/arm/include/asm/arch-sunxi/gpio.h |  1 +
> >   arch/arm/include/asm/arch-sunxi/spl.h  | 10 +++++
> >   arch/arm/mach-sunxi/Kconfig            |  2 +-
> >   arch/arm/mach-sunxi/board.c            | 57 +++++++++++++-------------
> >   arch/arm/mach-sunxi/spl_spi_sunxi.c    | 24 +++++++----
> >   configs/licheepi_nano_defconfig        |  1 +
> >   6 files changed, 58 insertions(+), 37 deletions(-)
> >   



More information about the U-Boot mailing list