]> git.sur5r.net Git - u-boot/commit
SPL: SPI: sunxi: add SPL FIT image support
authorAndre Przywara <andre.przywara@arm.com>
Fri, 22 Sep 2017 21:57:22 +0000 (22:57 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 27 Sep 2017 07:15:32 +0000 (12:45 +0530)
commitba09440131a707c4fabf2875b14521bcf2b86938
treeeb39e8130acb1cf4f42251e52e13831b8b005375
parent10509987285515b0a969c39ef7374fea3545851b
SPL: SPI: sunxi: add SPL FIT image support

The sunxi-specific SPI load routine only knows how to load a legacy
U-Boot image.
Teach it how to handle FIT images as well, simply by providing the
existing SPL FIT loader with the right loader routine to access the SPI
NOR flash.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reported-by: Peter Kosa <kope@madnet.sk>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sunxi_spi_spl.c