summaryrefslogtreecommitdiff
path: root/baseboard/intelrvp
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-05-08 15:33:31 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-11 14:04:30 +0000
commitb729eab7c75553c830b54be5da7a348127f0b49c (patch)
treedb654291e97be430144d4bcad27e4f04db9f87f7 /baseboard/intelrvp
parentc1b39d008cf6aa8ed53780c5b4ff1bd55951d1b4 (diff)
downloadchrome-ec-b729eab7c75553c830b54be5da7a348127f0b49c.tar.gz
charger: Move charger_state_v2.h into charge_state.h
We don't have a v1 anymore, so the name makes no sense. Move it into the existing file. Include charge_state.h instead of v2, doing this in the same change to avoid build errors. This makes no functional change. BUG=b:218332694 TEST=make buildall Change-Id: Ic3e3adc45e4d002c2cd5ba8aa65e24686e01d628 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4516191 Reviewed-by: Tim Van Patten <timvp@google.com> Commit-Queue: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'baseboard/intelrvp')
-rw-r--r--baseboard/intelrvp/chg_usb_pd.c2
-rw-r--r--baseboard/intelrvp/chg_usb_pd_mecc_1_0.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/baseboard/intelrvp/chg_usb_pd.c b/baseboard/intelrvp/chg_usb_pd.c
index c4ae3ea72d..60ad6e5cdb 100644
--- a/baseboard/intelrvp/chg_usb_pd.c
+++ b/baseboard/intelrvp/chg_usb_pd.c
@@ -6,7 +6,7 @@
/* Common USB PD charge configuration */
#include "charge_manager.h"
-#include "charge_state_v2.h"
+#include "charge_state.h"
#include "gpio.h"
#include "hooks.h"
#include "tcpm/tcpci.h"
diff --git a/baseboard/intelrvp/chg_usb_pd_mecc_1_0.c b/baseboard/intelrvp/chg_usb_pd_mecc_1_0.c
index 3f2959ebdb..1d18109f6f 100644
--- a/baseboard/intelrvp/chg_usb_pd_mecc_1_0.c
+++ b/baseboard/intelrvp/chg_usb_pd_mecc_1_0.c
@@ -6,7 +6,7 @@
/* Intel-RVP family-specific configuration */
#include "charge_manager.h"
-#include "charge_state_v2.h"
+#include "charge_state.h"
#include "console.h"
#include "driver/ppc/sn5s330.h"
#include "gpio.h"