From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andr=c3=a9_Przywara?= Date: Fri, 20 Jan 2017 21:58:18 +0000 Subject: [U-Boot] [RFC PATCH 11/11] SPL: SPI: sunxi: add SPL FIT image support In-Reply-To: <20170120213750.yezmtabyb7s6mp2e@lukather> References: <1484877211-19332-1-git-send-email-andre.przywara@arm.com> <1484877211-19332-12-git-send-email-andre.przywara@arm.com> <20170120213750.yezmtabyb7s6mp2e@lukather> Message-ID: <4822d3a3-cadf-e861-b39e-180894ed421a@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > 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