From ee930fffee469d076998274a2ca55e13dc1efb67 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 08:50:54 +0000
Subject: [PATCH] enable tun/tap/iptables

---
 u-boot/arch/arm/mach-rockchip/hotkey.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/u-boot/arch/arm/mach-rockchip/hotkey.c b/u-boot/arch/arm/mach-rockchip/hotkey.c
index 37a03df..446547c 100644
--- a/u-boot/arch/arm/mach-rockchip/hotkey.c
+++ b/u-boot/arch/arm/mach-rockchip/hotkey.c
@@ -17,10 +17,10 @@
 #define CTRL_D		0x04	/* download mde */
 #define CTRL_F		0x06	/* fastboot mode */
 #define CTRL_I		0x09	/* inicall debug for kernel */
+#define CTRL_L		0x0c	/* late shell(cli) on BOOTM_STATE_OS_GO */
 #define CTRL_M		0x0d	/* memory(sysmem/bidram) */
 #define CTRL_P		0x10	/* parameter(cmdline) dump */
 #define CTRL_R		0x12	/* regulator initial state dump */
-#define CTRL_S		0x13	/* shell(cli) on BOOTM_STATE_OS_GO */
 #define CTRL_T		0x14	/* print fdt */
 
 bool is_hotkey(enum hotkey_t id)
@@ -75,7 +75,7 @@
 			cli_loop();
 		break;
 	case HK_CLI_OS_GO:
-		if (gd->console_evt == CTRL_S)
+		if (gd->console_evt == CTRL_L)
 			cli_loop();
 		break;
 	default:

--
Gitblit v1.6.2