Skip to content

Commit

Permalink
../packages/u-boot-mainline/patches/v2021.07-rc1/0001-common-autoboot…
Browse files Browse the repository at this point in the history
….c-add-env-autoboot_ctrlc_disable.patch:

Signed-off-by: Artem Lapkin <[email protected]>
  • Loading branch information
Artem Lapkin committed Oct 8, 2023
1 parent 4d6bb19 commit 3aa1a97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ index b42148c7..9ab7bc5e 100644
lock = IS_ENABLED(CONFIG_AUTOBOOT_KEYED) &&
!IS_ENABLED(CONFIG_AUTOBOOT_KEYED_CTRLC);
+
+ if (env_get("autoboot_ctrlc_disable"))
+ lock = false;
+ if (env_get("autoboot_ctrlc_disable")) { printf("CTRL+C disabled by env\n");
+ lock = true ; }
+
if (lock)
prev = disable_ctrlc(1); /* disable Ctrl-C checking */
Expand Down

0 comments on commit 3aa1a97

Please sign in to comment.