From: Ian Campbell Date: Fri, 28 Mar 2014 08:26:50 +0000 Subject: [U-Boot] [PATCH v2 5/9] sunxi: generic sun7i build infrastructure. In-Reply-To: <201403272337.03589.marex@denx.de> References: <1395438845.2234.95.camel@hastur.hellion.org.uk> <201403242201.04620.marex@denx.de> <1395957921.4541.28.camel@hastur.hellion.org.uk> <201403272337.03589.marex@denx.de> Message-ID: <1395995210.26869.9.camel@dagon.hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 2014-03-27 at 23:37 +0100, Marek Vasut wrote: > On Thursday, March 27, 2014 at 11:05:21 PM, Ian Campbell wrote: > > On Mon, 2014-03-24 at 22:01 +0100, Marek Vasut wrote: > > > > diff --git a/arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds > > > > b/arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds new file mode 100644 > > > > index 0000000..cf02300 > > > > --- /dev/null > > > > +++ b/arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds > > > > > > This file is unreadable. Can you not actually merge it into > > > u-boot-spl.lds with some #ifdef ? > > > > They look pretty much entirely different to me. I should sort out the > > whitespace and stuff though, it is a mess in that regard. Perhaps that > > will help. > > Likely, but is it really necessary for those two files to be so different or is > this some legacy stuff in the sunxi-specific .lds file? The standard lds file is pretty standard. This -fel version is for a special boot mode which sunxi processors have[0] which allows for booting over USB OTG, so the image needs to be built appropriately. Ian. [0] http://linux-sunxi.org/FEL