summaryrefslogtreecommitdiff
path: root/baseboard/intelrvp/baseboard.h
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2021-03-15 16:47:01 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-19 22:14:43 +0000
commit1275c78e5e75df6e9016015051ae0452b148f83b (patch)
tree9c9e819cbf0b02f22af1b1f29342215b2515539e /baseboard/intelrvp/baseboard.h
parentce1407c152ffc13998eef13ec3f2f030b8b2205e (diff)
downloadchrome-ec-1275c78e5e75df6e9016015051ae0452b148f83b.tar.gz
intelrvp: cleanup: Shuffle the code
Shuffled the code to cleanup following 1. Moved the temperature sensor code from CONFIG_FANS to CONFIG_TEMP_SENSOR to avoid build errors when the FAN is disabled. 2. Moved ADC code to respective EC chip code as the ADC structure is not same for all the EC chip variants. 3. Moved PD reset code from EC chip to MECC files so that PD specific code can be added if needed. BUG=none BRANCH=none TEST=make buildall -j Change-Id: I614ce0c011f5080e46cd1095a534884925c13b2c Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2762806 Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'baseboard/intelrvp/baseboard.h')
-rw-r--r--baseboard/intelrvp/baseboard.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/baseboard/intelrvp/baseboard.h b/baseboard/intelrvp/baseboard.h
index 82f62c340e..7ec90f0507 100644
--- a/baseboard/intelrvp/baseboard.h
+++ b/baseboard/intelrvp/baseboard.h
@@ -261,8 +261,6 @@ struct tcpc_aic_gpio_config_t {
};
extern const struct tcpc_aic_gpio_config_t tcpc_aic_gpios[];
-/* Reset PD MCU */
-void board_reset_pd_mcu(void);
void board_charging_enable(int port, int enable);
void board_vbus_enable(int port, int enable);
void board_set_vbus_source_current_limit(int port, enum tcpc_rp_value rp);