diff options
author | Ting Shen <phoenixshen@google.com> | 2021-03-04 16:44:00 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-05 09:11:41 +0000 |
commit | e8b45a7e33733b2a6e9ccb966be7d1b00ca2b2e6 (patch) | |
tree | b94413a2bfb898c0f0bfdda1302c4a6aac06a7bc /baseboard/cherry/usb_pd_policy.c | |
parent | 631392f8c7fb2a810465b1f53c8bbfd00bd2946c (diff) | |
download | chrome-ec-e8b45a7e33733b2a6e9ccb966be7d1b00ca2b2e6.tar.gz |
cherry: code cleanup
- remove duplicate headers in baseboard.c
- remove references to asurada / hayato
- replace cherry/led.c by asurada/led_hayato.c, which should be more
close to cherry's design
BUG=b:181838424
TEST=1) `ag '(asurada|hayato)' -i baseboard/cherry board/cherry`
returns empty result
2) make
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Id9afd90d323395f38787e452b02b8da65fd15286
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2734168
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'baseboard/cherry/usb_pd_policy.c')
-rw-r--r-- | baseboard/cherry/usb_pd_policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/baseboard/cherry/usb_pd_policy.c b/baseboard/cherry/usb_pd_policy.c index 7d56e95d6c..cc2f9b0336 100644 --- a/baseboard/cherry/usb_pd_policy.c +++ b/baseboard/cherry/usb_pd_policy.c @@ -11,7 +11,7 @@ #include "usbc_ppc.h" #if CONFIG_USB_PD_3A_PORTS != 1 -#error Asurada reference must have at least one 3.0 A port +#error Cherry reference must have at least one 3.0 A port #endif #define CPRINTS(format, args...) cprints(CC_USBPD, format, ## args) @@ -118,7 +118,7 @@ __override int svdm_dp_attention(int port, uint32_t *payload) } /* - * Asurada can only output to 1 display port at a time. + * Cherry can only output to 1 display port at a time. * This implements FCFS policy by changing the aux channel. If a * display is connected to the either port (says A), and the port A * will be served until the display is disconnected from port A. |