Skip to contentSkip to conversation

efi_loader: default EFI_LOADER=n on ARM11

PATCH New Heinrich Schuchardt 4 participants 4 messages Nov 20, 2019 – Nov 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 efi_loader: default EFI_LOADER=n on ARM11

Some of the ARM11 boards have tight limits on the size of U-Boots. Hence use EFI_LOADER=n as default on ARM11.

Set EFI_LOADER=y for the Raspberry Pi and Raspberry Pi Zero as these boards have sufficient storage on the SD card.

---
 configs/rpi_0_w_defconfig | 1 +
 configs/rpi_defconfig     | 1 +
 lib/efi_loader/Kconfig    | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)
configs/rpi_0_w_defconfig +1 -0
index fe5a7763a6..6614adfc9b 100644
@@ -41,3 +41,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_EFI_LOADER=y
configs/rpi_defconfig +1 -0
index 2c04b3334e..fa4d9c0b04 100644
@@ -41,3 +41,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_EFI_LOADER=y
lib/efi_loader/Kconfig +1 -1
index 7984d6f42d..91411ad124 100644
@@ -10,7 +10,7 @@ config EFI_LOADER
 	depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT
 	# We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB
 	depends on !EFI_STUB || !X86 || X86_64 || EFI_STUB_32BIT
-	default y
+	default y if !ARM || SYS_CPU = armv7 || SYS_CPU = armv8
 	select LIB_UUID
 	select HAVE_BLOCK_DEVICE
 	select REGEX

--
2.24.0

#1 lore raw

PATCH 1/1 efi_loader: default EFI_LOADER=n on ARM11

Quoted 8 lines · Heinrich Schuchardt

Some of the ARM11 boards have tight limits on the size of U-Boots. Hence use EFI_LOADER=n as default on ARM11.

Set EFI_LOADER=y for the Raspberry Pi and Raspberry Pi Zero as these boards have sufficient storage on the SD card.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191120/eef28e15/attachment.sig>
#2 lore raw

PATCH 1/1 efi_loader: default EFI_LOADER=n on ARM11

In reply to Heinrich Schuchardt
Quoted 8 lines · Heinrich Schuchardt

Some of the ARM11 boards have tight limits on the size of U-Boots. Hence use EFI_LOADER=n as default on ARM11.

Set EFI_LOADER=y for the Raspberry Pi and Raspberry Pi Zero as these boards have sufficient storage on the SD card.

Yours,
Linus Walleij

#3 lore raw

PATCH 1/1 efi_loader: default EFI_LOADER=n on ARM11

In reply to Heinrich Schuchardt
Quoted 8 lines · Heinrich Schuchardt

Some of the ARM11 boards have tight limits on the size of U-Boots. Hence use EFI_LOADER=n as default on ARM11.

Set EFI_LOADER=y for the Raspberry Pi and Raspberry Pi Zero as these boards have sufficient storage on the SD card.

For RPi configs:

Quoted 40 lines
---
 configs/rpi_0_w_defconfig | 1 +
 configs/rpi_defconfig     | 1 +
 lib/efi_loader/Kconfig    | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)
configs/rpi_0_w_defconfig +1 -0
index fe5a7763a6..6614adfc9b 100644
@@ -41,3 +41,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_EFI_LOADER=y
configs/rpi_defconfig +1 -0
index 2c04b3334e..fa4d9c0b04 100644
@@ -41,3 +41,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_PHYS_TO_BUS=y
 CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_EFI_LOADER=y
lib/efi_loader/Kconfig +1 -2
index 7984d6f42d..91411ad124 100644
@@ -10,7 +10,7 @@ config EFI_LOADER
 	depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT
 	# We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB
 	depends on !EFI_STUB || !X86 || X86_64 || EFI_STUB_32BIT
-	default y
+	default y if !ARM || SYS_CPU = armv7 || SYS_CPU = armv8
 	select LIB_UUID
 	select HAVE_BLOCK_DEVICE
 	select REGEX
--

2.24.0