diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-11-02 10:51:56 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-11-04 07:08:35 -0800 |
commit | 4f090ad68e76f2df0bf688942e39b30ba2312459 (patch) | |
tree | dcca7dc0f8a1a5afb443a17f9b4cb3a53d7e6cf9 /driver | |
parent | e8b998f2cc938d5982f15e23fb35c1c92410c3c2 (diff) | |
download | chrome-ec-4f090ad68e76f2df0bf688942e39b30ba2312459.tar.gz |
oak_pd: change oak_pd to be a sym link to glados_pd
Make oak_pd a sym link to glados_pd. A few small changes
necessary to make this possible:
- glados_pd now sets the VBUS present power status bit as oak_pd
does and as is appropriate for TCPCI spec.
- oak_pd now has watchdog enabled (not sure why it was
previously disabled).
- add a flag in gpio.inc to define EC_INT pin on B5 for oak_pd
and A14 for glaods_pd (and all other boards pointing to
glados_pd). Note: this breaks oak board rev 1, where EC_INT was
on A14.
BUG=none
BRANCH=none
TEST=make -j buildall
Load on glados and make sure zinger works.
Change-Id: I28f4ee106e44e2819919f1826508fc1fc05bb2a1
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/310193
Diffstat (limited to 'driver')
-rw-r--r-- | driver/tcpm/tcpci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/tcpm/tcpci.c b/driver/tcpm/tcpci.c index 6d0a38f3c1..b01b7d806e 100644 --- a/driver/tcpm/tcpci.c +++ b/driver/tcpm/tcpci.c @@ -260,8 +260,8 @@ void tcpc_alert(int port) #if defined(CONFIG_USB_PD_TCPM_VBUS) && defined(CONFIG_USB_CHARGER) /* Update charge manager with new VBUS state */ usb_charger_vbus_change(port, tcpc_vbus[port]); -#endif /* CONFIG_USB_PD_TCPM_VBUS && CONFIG_USB_CHARGER */ task_wake(PD_PORT_TO_TASK_ID(port)); +#endif /* CONFIG_USB_PD_TCPM_VBUS && CONFIG_USB_CHARGER */ } } if (status & TCPC_REG_ALERT_RX_STATUS) { |