Re: [U-Boot] [PATCH v3 10/13] ARM: HYP/non-sec/PSCI: emit DT nodes

2014-05-08 Thread Ian Campbell
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 +, Marc Zyngier wrote: > >> @@ -32,5 +33,11 @@ int arch_fixup_fdt(void *blob) > >>size[bank] = bd->bi_dram[bank].size; > >>} > >> > >> -

Re: [U-Boot] [PATCH v3 10/13] ARM: HYP/non-sec/PSCI: emit DT nodes

2014-05-07 Thread Marc Zyngier
Hi Ian, On 2014-05-07 20:24, Ian Campbell wrote: On Sat, 2014-02-15 at 13:36 +, 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); +

Re: [U-Boot] [PATCH v3 10/13] ARM: HYP/non-sec/PSCI: emit DT nodes

2014-05-07 Thread Ian Campbell
On Sat, 2014-02-15 at 13:36 +, 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, st

[U-Boot] [PATCH v3 10/13] ARM: HYP/non-sec/PSCI: emit DT nodes

2014-02-15 Thread Marc Zyngier
Generate the PSCI node in the device tree. Also add a reserve section for the "secure" code that lives in in normal RAM, so that the kernel knows it'd better not trip on it. Signed-off-by: Marc Zyngier --- arch/arm/cpu/armv7/Makefile | 1 + arch/arm/cpu/armv7/virt-dt.c | 100