Searched hist:"3017074 fb28f722c5a8983e2f7ab59c12f5f1c68" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | boot_rkimg.c | 3017074fb28f722c5a8983e2f7ab59c12f5f1c68 Wed Jun 17 09:05:21 UTC 2020 Joseph Chen <chenjh@rock-chips.com> rockchip: rkimg: use menu key to enter bootrom download mode
It's possible that USB is disabled due to developer needs a critial size of u-boot.bin.
Disabling USB makes vbus can't be detected any more, so that we add menu key and the events trigger are changed:
- rockusb mode(fallback to bootrom mode): "recovery key pressed + vbus=1" => "menu key pressed"
- recovery mode: "recovery key pressed + vbus=0" => "recovery key pressed"
At the most time, USB is enabled and this feature is not applied.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9da8f17987742cea3267dbb35ee88d57a00c578a
|