mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
db410c: automatically launch fastboot
If during boot the key-vol-down press is detected we'll fall back to fastboot. Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
This commit is contained in:
parent
0a195b0135
commit
aa043ee91a
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ int misc_init_r(void)
|
|||
|
||||
if (dm_gpio_get_value(&resin)) {
|
||||
env_set("bootdelay", "-1");
|
||||
printf("Power button pressed - dropping to console.\n");
|
||||
env_set("bootcmd", "fastboot 0");
|
||||
printf("key_vol_down pressed - Starting fastboot.\n");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue