hc
2023-11-06 9df731a176aab8e03b984b681b1bea01ccff6644
u-boot/arch/arm/mach-rockchip/hotkey.c
....@@ -17,10 +17,10 @@
1717 #define CTRL_D 0x04 /* download mde */
1818 #define CTRL_F 0x06 /* fastboot mode */
1919 #define CTRL_I 0x09 /* inicall debug for kernel */
20
+#define CTRL_L 0x0c /* late shell(cli) on BOOTM_STATE_OS_GO */
2021 #define CTRL_M 0x0d /* memory(sysmem/bidram) */
2122 #define CTRL_P 0x10 /* parameter(cmdline) dump */
2223 #define CTRL_R 0x12 /* regulator initial state dump */
23
-#define CTRL_S 0x13 /* shell(cli) on BOOTM_STATE_OS_GO */
2424 #define CTRL_T 0x14 /* print fdt */
2525
2626 bool is_hotkey(enum hotkey_t id)
....@@ -75,7 +75,7 @@
7575 cli_loop();
7676 break;
7777 case HK_CLI_OS_GO:
78
- if (gd->console_evt == CTRL_S)
78
+ if (gd->console_evt == CTRL_L)
7979 cli_loop();
8080 break;
8181 default: