diff options
author | Eric Yilun Lin <yllin@chromium.org> | 2021-11-26 13:16:18 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-01 04:38:33 +0000 |
commit | 5290c61660032b9dd7bc8cf3288cd6472e506cae (patch) | |
tree | 0ca309a8ad7baf024656e69faad901bfc158be5b | |
parent | 60f71642681c1e1485b8e33d0aa79d87aa219609 (diff) | |
download | chrome-ec-5290c61660032b9dd7bc8cf3288cd6472e506cae.tar.gz |
zephyr: corsola: drop baseboard_common.h
The file is not needed anymore.
BUG=b:206553789
TEST=zmake testall
BRANCH=none
Change-Id: Ice338031b6cba9e84f2522259481a4d3408ffa5e
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3303263
Tested-by: Eric Yilun Lin <yllin@google.com>
Auto-Submit: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r-- | zephyr/projects/corsola/src/baseboard_common.h | 29 | ||||
-rw-r--r-- | zephyr/projects/corsola/src/usb_pd_policy.c | 1 | ||||
-rw-r--r-- | zephyr/projects/corsola/src/usbc_config.c | 1 |
3 files changed, 0 insertions, 31 deletions
diff --git a/zephyr/projects/corsola/src/baseboard_common.h b/zephyr/projects/corsola/src/baseboard_common.h deleted file mode 100644 index 075100e12f..0000000000 --- a/zephyr/projects/corsola/src/baseboard_common.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* Corsola baseboard-specific onfiguration common to ECOS and Zephyr */ - -#ifndef __CROS_EC_BASEBOARD_COMMON_H -#define __CROS_EC_BASEBOARD_COMMON_H - -#ifndef __ASSEMBLER__ - -#include "gpio_signal.h" - -/** - * board_get_version() - Get the board version - * - * Read the ADC to obtain the board version - * - * @return board version in the range 0 to 14 inclusive - */ -int board_get_version(void); - -void ppc_interrupt(enum gpio_signal signal); -void bc12_interrupt(enum gpio_signal signal); -void x_ec_interrupt(enum gpio_signal signal); - -#endif /* !__ASSEMBLER__ */ -#endif /* __CROS_EC_BASEBOARD_COMMON_H */ diff --git a/zephyr/projects/corsola/src/usb_pd_policy.c b/zephyr/projects/corsola/src/usb_pd_policy.c index d0c576a398..3769f189ae 100644 --- a/zephyr/projects/corsola/src/usb_pd_policy.c +++ b/zephyr/projects/corsola/src/usb_pd_policy.c @@ -4,7 +4,6 @@ */ #include "adc.h" #include "atomic.h" -#include "baseboard_common.h" #include "charge_manager.h" #include "chipset.h" #include "timer.h" diff --git a/zephyr/projects/corsola/src/usbc_config.c b/zephyr/projects/corsola/src/usbc_config.c index 10a6b57093..f71fd65cc8 100644 --- a/zephyr/projects/corsola/src/usbc_config.c +++ b/zephyr/projects/corsola/src/usbc_config.c @@ -6,7 +6,6 @@ /* Corsola baseboard-specific USB-C configuration */ #include "adc.h" -#include "baseboard_common.h" #include "bc12/pi3usb9201_public.h" #include "button.h" #include "charger.h" |