Re: [U-Boot] [PATCH v4 4/8] ARM: add C function to switch to non-secure state

2013-08-09 Thread Christoffer Dall
On Fri, Aug 09, 2013 at 05:03:08PM +0200, Andre Przywara wrote: > The core specific part of the work is done in the assembly routine > in nonsec_virt.S, introduced with the previous patch, but for the full > glory we need to setup the GIC distributor interface once for the > whole system, which is

[U-Boot] [PATCH v4 4/8] ARM: add C function to switch to non-secure state

2013-08-09 Thread Andre Przywara
The core specific part of the work is done in the assembly routine in nonsec_virt.S, introduced with the previous patch, but for the full glory we need to setup the GIC distributor interface once for the whole system, which is done in C here. The routine is placed in arch/arm/cpu/armv7 to allow eas