Skip to content

Commit 497b7e9

Browse files
committed
ARM: LPAE: Add the Kconfig entries
This patch adds the ARM_LPAE and ARCH_PHYS_ADDR_T_64BIT Kconfig entries allowing LPAE support to be compiled into the kernel. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 77f73a2 commit 497b7e9

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

‎arch/arm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@ endchoice
19591959

19601960
config XIP_KERNEL
19611961
bool "Kernel Execute-In-Place from ROM"
1962-
depends on !ZBOOT_ROM
1962+
depends on !ZBOOT_ROM && !ARM_LPAE
19631963
help
19641964
Execute-In-Place allows the kernel to run from non-volatile storage
19651965
directly addressable by the CPU, such as NOR flash. This saves RAM

‎arch/arm/mm/Kconfig‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,23 @@ config IO_36
629629

630630
comment "Processor Features"
631631

632+
config ARM_LPAE
633+
bool "Support for the Large Physical Address Extension"
634+
depends on MMU && CPU_V7
635+
help
636+
Say Y if you have an ARMv7 processor supporting the LPAE page
637+
table format and you would like to access memory beyond the
638+
4GB limit. The resulting kernel image will not run on
639+
processors without the LPA extension.
640+
641+
If unsure, say N.
642+
643+
config ARCH_PHYS_ADDR_T_64BIT
644+
def_bool ARM_LPAE
645+
646+
config ARCH_DMA_ADDR_T_64BIT
647+
bool
648+
632649
config ARM_THUMB
633650
bool "Support Thumb user binaries"
634651
depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_V6 || CPU_V6K || CPU_V7 || CPU_FEROCEON

0 commit comments

Comments
 (0)