提交 aa043ee9 编写于 作者: R Ramon Fried 提交者: Tom Rini

db410c: automatically launch fastboot

If during boot the key-vol-down press is detected
we'll fall back to fastboot.
Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
上级 0a195b01
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册