
On Wed, Mar 16, 2016 at 09:33:12AM +0100, Alexander Graf wrote:
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@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?
Yes.
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.
Right, OK, so selected by TARGET_RPI_2 it is :)