author | Xindong Xu <xindong.xu@amlogic.com> | 2019-07-18 06:12:27 (GMT) |
---|---|---|
committer | Xindong Xu <xindong.xu@amlogic.com> | 2019-07-18 06:12:31 (GMT) |
commit | 77bf358913dbbe5912bc2d02bc9e1241bc3d95bc (patch) | |
tree | cebfaa91b577102c32012303e48b8d278a39bc60 | |
parent | 726b2ddcc4ad0f1cf5c2b8dc9c218b6338458332 (diff) | |
download | uboot-77bf358913dbbe5912bc2d02bc9e1241bc3d95bc.zip uboot-77bf358913dbbe5912bc2d02bc9e1241bc3d95bc.tar.gz uboot-77bf358913dbbe5912bc2d02bc9e1241bc3d95bc.tar.bz2 |
fastboot: adb reboot bootloader will enter fastboot mode [1/1]
PD#SWPL-11444
Problem:
adb reboot fastboot will enter fastbootd in Q
Solution:
change adb reboot bootloader to fastboot mode
Verify:
franklin
Change-Id: I71d37eb09de480b893b844a38d13b2f889ca24bb
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
-rw-r--r-- | common/cmd_reboot.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/cmd_reboot.c b/common/cmd_reboot.c index 9d58887..640f424 100644 --- a/common/cmd_reboot.c +++ b/common/cmd_reboot.c @@ -131,10 +131,7 @@ int do_get_rebootmode (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[] break; } case AMLOGIC_BOOTLOADER_REBOOT: { - if (dynamic_partition) - setenv("reboot_mode","fastboot"); - else - setenv("bootdelay","-1"); + setenv("reboot_mode","fastboot"); break; } } |