[U-Boot] [RFC PATCH 11/11] SPL: SPI: sunxi: add SPL FIT image support

André Przywara andre.przywara at arm.com
Fri Jan 20 22:58:18 CET 2017


On 20/01/17 21:37, Maxime Ripard wrote:
> Hi,
> 
> On Fri, Jan 20, 2017 at 01:53:31AM +0000, Andre Przywara wrote:
>> 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 at arm.com>
> 
> Does the MMC driver need a similar patch?

No, the other SPL boot media drivers all support FIT already. It's just
that the sunxi SPL SPI driver is a bit special and was designed to be as
small as possible, so it didn't have these few bits.
And apparently no one used FIT with it before.

Cheers,
Andre



More information about the U-Boot mailing list