mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
This change introduces LPAE for virtual address translation. To enable it, set ARM_LPAE. Boot slows down about 4ms on Tegra124 with LPAE enabled. TEST=Booted nyan with and without LPAE. Built nyan_big and daisy. BUG=None BRANCH=none Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@google.com> Original-Change-Id: I74aa729b6fe6d243f57123dc792302359c661cad Original-Reviewed-on: https://chromium-review.googlesource.com/187862 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Original-Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org> Original-Tested-by: Daisuke Nojiri <dnojiri@chromium.org> (cherry picked from commit 6d8c8b2bbdc70555076081eb3bfaabde7b4a398f) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I8980375c14758af35f7d5ec5244be963e5462d8a Reviewed-on: http://review.coreboot.org/7749 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
37 lines
596 B
Text
37 lines
596 B
Text
config ARCH_BOOTBLOCK_ARM
|
|
bool
|
|
default n
|
|
select ARCH_ARM
|
|
|
|
config ARCH_ROMSTAGE_ARM
|
|
bool
|
|
default n
|
|
|
|
config ARCH_RAMSTAGE_ARM
|
|
bool
|
|
default n
|
|
|
|
source src/arch/arm/armv4/Kconfig
|
|
source src/arch/arm/armv7/Kconfig
|
|
|
|
# If a custom bootblock is necessary, this option should be "select"-ed by
|
|
# the thing that needs it, probably the CPU.
|
|
config ARM_BOOTBLOCK_CUSTOM
|
|
bool
|
|
default n
|
|
|
|
config CBMEM_CONSOLE_PRERAM_BASE
|
|
hex
|
|
depends on CONSOLE_CBMEM
|
|
|
|
config CPU_HAS_BOOTBLOCK_INIT
|
|
bool
|
|
default n
|
|
|
|
config MAINBOARD_HAS_BOOTBLOCK_INIT
|
|
bool
|
|
default n
|
|
|
|
config ARM_LPAE
|
|
bool "Enable LPAE"
|
|
default n
|