From: Ian Campbell Date: Thu, 08 May 2014 08:07:00 +0100 Subject: [U-Boot] [PATCH v3 10/13] ARM: HYP/non-sec/PSCI: emit DT nodes In-Reply-To: <62a768c09612860ae6f07db707530174@www.loen.fr> References: <1392471397-2158-1-git-send-email-marc.zyngier@arm.com> <1392471397-2158-11-git-send-email-marc.zyngier@arm.com> <1399490640.19277.249.camel@hastur.hellion.org.uk> <62a768c09612860ae6f07db707530174@www.loen.fr> Message-ID: <1399532820.13877.18.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-05-08 at 07:22 +0100, Marc Zyngier wrote: > Hi Ian, > > On 2014-05-07 20:24, Ian Campbell wrote: > > On Sat, 2014-02-15 at 13:36 +0000, Marc Zyngier wrote: > >> @@ -32,5 +33,11 @@ int arch_fixup_fdt(void *blob) > >> size[bank] = bd->bi_dram[bank].size; > >> } > >> > >> - return fdt_fixup_memory_banks(blob, start, size, > >> CONFIG_NR_DRAM_BANKS); > >> + ret = fdt_fixup_memory_banks(blob, start, size, > >> CONFIG_NR_DRAM_BANKS); > >> + if (ret) > >> + return ret; > >> + > >> +#if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV7_VIRT) > >> + return armv7_update_dt(blob); > >> +#endif > > > > For platforms where neither of these CONFIG_* are set this results > > in: > > arch/arm/lib/bootm-fdt.c: In function ?arch_fixup_fdt?: > > arch/arm/lib/bootm-fdt.c:43:1: warning: control reaches end of > > non-void function [-Wreturn-type] > > } > > I'm afraid this is old news. ;-) > > This bug has been fixed in v4: > http://lists.denx.de/pipermail/u-boot/2014-April/178280.html AH, I thought I had the latest from your tree and I was only ccd on v3 so I missed it. Ian.