efi_loader: disable GRUB_ARM32_WORKAROUND on ARCH_SUNXI
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 3 Mar 2021 13:05:05 +0000 (14:05 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 16 Mar 2021 08:37:04 +0000 (09:37 +0100)
GRUB_ARM32_WORKAROUND can be disabled on ARCH_SUNXI as the Allwinner SoCs
only have a level 2 cache controlled via CP15 and not an architecturally
defined cache. Having the cache available speeds up booting Linux.

On ARCH_BCM283X it is already disabled via rpi_2_defconfig. But let's move
this setting to Kconfig.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/Kconfig

index e729f72..634d3b1 100644 (file)
@@ -281,7 +281,7 @@ config EFI_HAVE_RUNTIME_RESET
 
 config EFI_GRUB_ARM32_WORKAROUND
        bool "Workaround for GRUB on 32bit ARM"
-       default n if ARCH_QEMU
+       default n if ARCH_BCM283X || ARCH_SUNXI || ARCH_QEMU
        default y
        depends on ARM && !ARM64
        help