diff options
author | thead_admin <occ_thead@service.alibaba.com> | 2023-12-24 02:32:03 +0000 |
---|---|---|
committer | Han Gao/Revy/Rabenda <rabenda.cn@gmail.com> | 2024-01-22 15:55:16 +0800 |
commit | abe41ba65eb27b7680aa59627501d68b90a8419a (patch) | |
tree | 57c08314c8a961834d87f4bfb7d07d287ebd8423 /cmd/booti.c | |
parent | 3e564f9f0c0db3eaef002815596b0bb35063ecc7 (diff) |
Linux_SDK_V1.4.2
Signed-off-by: thead_admin <occ_thead@service.alibaba.com>
Diffstat (limited to 'cmd/booti.c')
-rw-r--r-- | cmd/booti.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd/booti.c b/cmd/booti.c index 35febee1..594e535a 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -67,7 +67,6 @@ static int booti_start(cmd_tbl_t *cmdtp, int flag, int argc, int do_booti(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { int ret; - /* Consume 'booti' */ argc--; argv++; @@ -127,15 +126,14 @@ int do_secboot(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { #if CONFIG_IS_ENABLED(LIGHT_SEC_UPGRADE) if (light_secboot(argc, argv) != 0) { - run_command("reset", 0); return -1; } #endif return 0; } U_BOOT_CMD( - secboot, CONFIG_SYS_MAXARGS, 1, do_secboot, - "verify image file with known pubkey which reside in father image or itself!", + secboot, CONFIG_SYS_MAXARGS, 1, do_secboot, + "verify image file with known pubkey which reside in father image or itself!", "vimage addr imgname[[tee/tf] - verify specifed image resides in addr\n" ); |