diff options
author | Tom Rini <trini@konsulko.com> | 2018-07-30 23:02:29 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-30 23:02:29 +0300 |
commit | 406fd7e207d3593f150079514a371dccdc651ce7 (patch) | |
tree | 005f94b428abc454efd05f56364ee052cb16ac39 /arch/arm/cpu/armv7 | |
parent | 3a8c8bffd767abb350010f3892c0029c54cef725 (diff) | |
parent | 0b8a88ab6aa24de0ef2bf1e8109409f71e770a8e (diff) | |
download | u-boot-406fd7e207d3593f150079514a371dccdc651ce7.tar.xz |
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-07-25
Highlights this time:
- Many small fixes to improve spec compatibility (found by SCT)
- Almost enough to run with sandbox target
- GetTime() improvements
- Enable EFI_LOADER and HYP entry on ARMv7 with NONSEC=y
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/cpu/armv7/nonsec_virt.S | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/Kconfig b/arch/arm/cpu/armv7/Kconfig index 37a0be932e..73d57a2aae 100644 --- a/arch/arm/cpu/armv7/Kconfig +++ b/arch/arm/cpu/armv7/Kconfig @@ -53,7 +53,7 @@ config ARMV7_PSCI_NR_CPUS config ARMV7_LPAE bool "Use LPAE page table format" if EXPERT depends on CPU_V7A - default n + default y if ARMV7_VIRT ---help--- Say Y here to use the long descriptor page table format. This is required if U-Boot runs in HYP mode. diff --git a/arch/arm/cpu/armv7/nonsec_virt.S b/arch/arm/cpu/armv7/nonsec_virt.S index 56bdba1d38..1773fae205 100644 --- a/arch/arm/cpu/armv7/nonsec_virt.S +++ b/arch/arm/cpu/armv7/nonsec_virt.S @@ -80,6 +80,8 @@ _secure_monitor: #ifdef CONFIG_ARMV7_VIRT orreq r5, r5, #0x100 @ allow HVC instruction moveq r6, #HYP_MODE @ Enter the kernel as HYP + mrseq r3, sp_svc + msreq sp_hyp, r3 @ migrate SP #endif mcr p15, 0, r5, c1, c1, 0 @ write SCR (with NS bit set) |