mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
oak: add initial support for oak board rev1
Add initial support for Oak rev1 board. This is just the EC and includes battery charging but does not include USB PD. BUG=none BRANCH=none TEST=load on oak board and get console Signed-off-by: Rong Chang <rongchang@chromium.org> Signed-off-by: Alec Berg <alecaberg@chromium.org> Change-Id: I626f3921025fbc39ba22b04eeb6dd1084cd70777 Reviewed-on: https://chromium-review.googlesource.com/261678
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
937cc8a64e
commit
552c17543f
@@ -668,9 +668,7 @@ static int handle_pending_reboot(enum ec_reboot_cmd cmd)
|
||||
case EC_REBOOT_COLD:
|
||||
#ifdef HAS_TASK_PDCMD
|
||||
/* Reboot the PD chip as well */
|
||||
gpio_set_level(GPIO_USB_MCU_RST, 1);
|
||||
usleep(100);
|
||||
gpio_set_level(GPIO_USB_MCU_RST, 0);
|
||||
board_reset_pd_mcu();
|
||||
#endif
|
||||
system_reset(SYSTEM_RESET_HARD);
|
||||
/* That shouldn't return... */
|
||||
|
||||
Reference in New Issue
Block a user