[U-Boot] [PATCH 2/5] arm: Add support for HYP mode and LPAE page tables
Alexander Graf
agraf at suse.de
Wed Mar 16 09:33:12 CET 2016
On 15.03.16 18:35, Tom Rini wrote:
> On Tue, Mar 15, 2016 at 06:21:45PM +0100, Alexander Graf wrote:
>
>> Signed-off-by: Alexander Graf <agraf at suse.de>
>> ---
>> arch/arm/include/asm/system.h | 99 ++++++++++++++++++++++++++++++++++++++++---
>> arch/arm/lib/cache-cp15.c | 66 ++++++++++++++++++++++++++---
>> 2 files changed, 153 insertions(+), 12 deletions(-)
>
> I think in this patch we need to add SYS_ARM_LPAE to arch/arm/Kconfig
> and then later select it under ARCH_BCM283X or TARGET_RPI_2 (I don't
> know the SoC well enough to say which side is forcing this on us).
So you'd prefer to go via kconfig rather than a board #define?
The reason we need this is that U-Boot gets entered in HYP mode. This is
not specific to the SoC, it's specific to the way it boots, so it
belongs in the rpi2 configuration. The only other system I'm aware of
that supposedly works like this is the Calxeda Midway.
Alex
More information about the U-Boot
mailing list