diff options
| author | Heinrich Schuchardt <[email protected]> | 2019-07-22 22:04:36 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2019-07-30 21:36:22 +0200 |
| commit | 6f3badb67dcce2d67ac9abe35b10a04f560bbd08 (patch) | |
| tree | ea24b759fc7ba0c8b35859327cf941e7a9429625 /lib/efi_loader/Kconfig | |
| parent | d0d07ba86afc8074d79e436b1ba4478fa0f0c1b5 (diff) | |
efi_loader: re-enable GRUB workaround on 32bit ARM
GRUB on ARM 32bit prior to version 2.04 lacks proper handling of caches.
In U-Boot v2019.04 a workaround for this was inadvertently removed.
The workaround is currently also needed for booting on systems with caches
that cannot be managed via CP15 (e.g. with an i.MX6 CPU).
Re-enable the workaround and make it customizable.
Fixes: f69d63fae281 ("efi_loader: use efi_start_image() for bootefi")
Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'lib/efi_loader/Kconfig')
| -rw-r--r-- | lib/efi_loader/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index a7f2c68fa91..c7027a96765 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -107,4 +107,12 @@ config EFI_HAVE_RUNTIME_RESET default y depends on ARCH_BCM283X || FSL_LAYERSCAPE || PSCI_RESET || SYSRESET_X86 +config EFI_GRUB_ARM32_WORKAROUND + bool "Workaround for GRUB on 32bit ARM" + default y + depends on ARM && !ARM64 + help + GRUB prior to version 2.04 requires U-Boot to disable caches. This + workaround currently is also needed on systems with caches that + cannot be managed via CP15. endif |
