uboot-tools/uefi-enable-https-boot-by-default.patch
Peter Robinson 8db7be92d1 2025.10 RC5
2025-09-26 15:43:17 +01:00

81 lines
1.9 KiB
Diff

From 8253233373e608dd5b41544d63e0555f713fe876 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Wed, 10 Sep 2025 13:37:01 +0100
Subject: [PATCH] enable https boot by default
---
Kconfig | 3 ++-
cmd/Kconfig | 1 +
lib/efi_loader/Kconfig | 1 +
lib/mbedtls/Kconfig | 3 ++-
4 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Kconfig b/Kconfig
index 70125c4e5a6..89e82d7818f 100644
--- a/Kconfig
+++ b/Kconfig
@@ -774,7 +774,7 @@ menu "Networking"
choice
prompt "Networking stack"
- default NET
+ default NET_LWIP
config NO_NET
bool "No networking support"
@@ -790,6 +790,7 @@ config NET
config NET_LWIP
bool "Use lwIP for networking stack"
+ default y
imply NETDEVICES
help
Include networking support based on the lwIP (lightweight IP)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 29de857ba7c..277b7be0b89 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2174,6 +2174,7 @@ config CMD_WGET
config WGET_HTTPS
bool "wget https"
+ default y
depends on CMD_WGET
depends on PROT_TCP_LWIP
depends on MBEDTLS_LIB
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 900113ca3e9..2188b4bd6e5 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -563,6 +563,7 @@ config EFI_BOOTMGR
config EFI_HTTP_BOOT
bool "EFI HTTP Boot support"
+ default y
depends on NET || NET_LWIP
select CMD_NET
select CMD_DHCP
diff --git a/lib/mbedtls/Kconfig b/lib/mbedtls/Kconfig
index 789721ee6cd..7a241c2bc26 100644
--- a/lib/mbedtls/Kconfig
+++ b/lib/mbedtls/Kconfig
@@ -2,7 +2,7 @@
choice
prompt "Crypto libraries (U-Boot Proper)"
- default LEGACY_HASHING_AND_CRYPTO
+ default MBEDTLS_LIB
help
Select crypto libraries.
LEGACY_HASHING_AND_CRYPTO for legacy crypto libraries,
@@ -15,6 +15,7 @@ config LEGACY_HASHING_AND_CRYPTO
config MBEDTLS_LIB
bool "MbedTLS libraries"
+ default y
select MBEDTLS_LIB_X509
endchoice
--
2.51.0