47 lines
1.5 KiB
Diff
47 lines
1.5 KiB
Diff
From ed59733d86e8b509c7afcab3e670dc8bb1020589 Mon Sep 17 00:00:00 2001
|
|
From: hongruichen <[email protected]>
|
|
Date: Wed, 27 Mar 2024 22:03:00 +0800
|
|
Subject: allwinner-common-enable-autoboot-keyed.patch
|
|
|
|
---
|
|
arch/arm/Kconfig | 2 ++
|
|
boot/Kconfig | 3 ++-
|
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
|
|
index 01d6556c42b..12d19c98ddd 100644
|
|
--- a/arch/arm/Kconfig
|
|
+++ b/arch/arm/Kconfig
|
|
@@ -1175,6 +1175,8 @@ config ARCH_SUNXI
|
|
select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
|
|
select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
|
|
select SPL_USE_TINY_PRINTF if SPL
|
|
+ imply AUTOBOOT_KEYED
|
|
+ imply AUTOBOOT_KEYED_CTRLC
|
|
select USE_PREBOOT
|
|
select SYS_RELOC_GD_ENV_ADDR
|
|
imply BOARD_LATE_INIT
|
|
diff --git a/boot/Kconfig b/boot/Kconfig
|
|
index 3d7aabd27d6..5b9e7b15849 100644
|
|
--- a/boot/Kconfig
|
|
+++ b/boot/Kconfig
|
|
@@ -1286,7 +1286,7 @@ config AUTOBOOT_FLUSH_STDIN
|
|
|
|
config AUTOBOOT_PROMPT
|
|
string "Autoboot stop prompt"
|
|
- default "Autoboot in %d seconds\\n"
|
|
+ default "Autoboot in %d seconds, press <Space> to stop\\n"
|
|
help
|
|
This string is displayed before the boot delay selected by
|
|
CONFIG_BOOTDELAY starts. If it is not defined there is no
|
|
@@ -1340,6 +1340,7 @@ config AUTOBOOT_DELAY_STR
|
|
config AUTOBOOT_STOP_STR
|
|
string "Stop autobooting via specific input key / string"
|
|
depends on !AUTOBOOT_ENCRYPTION
|
|
+ default " "
|
|
help
|
|
This option enables stopping (aborting) of the automatic
|
|
boot feature only by issuing a specific input key or
|
|
--
|
|
GitLab
|