From 5290c61660032b9dd7bc8cf3288cd6472e506cae Mon Sep 17 00:00:00 2001 From: Eric Yilun Lin Date: Fri, 26 Nov 2021 13:16:18 +0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3303263 Tested-by: Eric Yilun Lin Auto-Submit: Eric Yilun Lin Commit-Queue: Eric Yilun Lin Reviewed-by: Ting Shen --- zephyr/projects/corsola/src/baseboard_common.h | 29 -------------------------- zephyr/projects/corsola/src/usb_pd_policy.c | 1 - zephyr/projects/corsola/src/usbc_config.c | 1 - 3 files changed, 31 deletions(-) delete mode 100644 zephyr/projects/corsola/src/baseboard_common.h 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" -- cgit v1.2.1