commit | 38935fb8f23aff8006b4b572930e2533dcad2e96 | [log] [tgz] |
---|---|---|
author | Alex Van Damme <atv@google.com> | Wed Mar 11 12:52:49 2020 -0700 |
committer | Alex Van Damme <atv@google.com> | Wed Mar 11 14:11:16 2020 -0700 |
tree | 56dcec4a606fafec286510e48192c22cb6b2d9b4 | |
parent | 078f2426911ceab591c785d676990814e87b5c9c [diff] |
Add support for 'fastboot reboot-bootloader' - Add calls to get and set the MTK_WDT_NONRST2 register, which isn't cleared on a reset. - Implement fastboot_set_reboot_flag, using the MTK_WDT_NONRST2 register to store the flag value at reset time - Enable MISC_INIT_R and use it to handle the flag, board_init runs before watchdog startup. Change-Id: I3c18ab3d97b4681775d426d487bf95968ab943d4