summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/fmap.c2
-rw-r--r--common/rwsig.c2
-rw-r--r--common/system.c2
-rw-r--r--common/usb_pd_policy.c2
-rw-r--r--common/usb_pd_protocol.c2
-rw-r--r--common/usbc/usb_prl_sm.c2
-rw-r--r--common/usbc/usbc_task.c2
-rw-r--r--common/version.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/common/fmap.c b/common/fmap.c
index 001f83a184..289883abce 100644
--- a/common/fmap.c
+++ b/common/fmap.c
@@ -7,9 +7,9 @@
#include <stddef.h>
#include "common.h"
+#include "cros_version.h"
#include "rwsig.h"
#include "util.h"
-#include "version.h"
/*
* FMAP structs.
diff --git a/common/rwsig.c b/common/rwsig.c
index 4ed356f472..3a5bcd98d8 100644
--- a/common/rwsig.c
+++ b/common/rwsig.c
@@ -8,6 +8,7 @@
*/
#include "console.h"
+#include "cros_version.h"
#include "ec_commands.h"
#include "flash.h"
#include "host_command.h"
@@ -22,7 +23,6 @@
#include "util.h"
#include "vb21_struct.h"
#include "vboot.h"
-#include "version.h"
/* Console output macros */
#define CPRINTF(format, args...) cprintf(CC_SYSTEM, format, ## args)
diff --git a/common/system.c b/common/system.c
index e657859160..068e6bb37d 100644
--- a/common/system.c
+++ b/common/system.c
@@ -35,7 +35,7 @@
#include "usb_pd.h"
#include "usb_pd_tcpm.h"
#include "util.h"
-#include "version.h"
+#include "cros_version.h"
#include "watchdog.h"
/* Console output macros */
diff --git a/common/usb_pd_policy.c b/common/usb_pd_policy.c
index 89c87aacf5..bdf07452b7 100644
--- a/common/usb_pd_policy.c
+++ b/common/usb_pd_policy.c
@@ -7,6 +7,7 @@
#include "charge_manager.h"
#include "common.h"
#include "console.h"
+#include "cros_version.h"
#include "ec_commands.h"
#include "flash.h"
#include "gpio.h"
@@ -26,7 +27,6 @@
#include "usb_mux.h"
#include "usb_pd.h"
#include "usbc_ppc.h"
-#include "version.h"
#ifdef CONFIG_COMMON_RUNTIME
#define CPRINTS(format, args...) cprints(CC_USBPD, format, ## args)
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c
index c186696d4c..dd0eaa8c05 100644
--- a/common/usb_pd_protocol.c
+++ b/common/usb_pd_protocol.c
@@ -12,6 +12,7 @@
#include "chipset.h"
#include "common.h"
#include "console.h"
+#include "cros_version.h"
#include "ec_commands.h"
#include "gpio.h"
#include "hooks.h"
@@ -32,7 +33,6 @@
#include "usb_pd_tcpc.h"
#include "usbc_ocp.h"
#include "usbc_ppc.h"
-#include "version.h"
#include "vboot.h"
/* Flags to clear on a disconnect */
diff --git a/common/usbc/usb_prl_sm.c b/common/usbc/usb_prl_sm.c
index 00a4cecfeb..834d2d6f2b 100644
--- a/common/usbc/usb_prl_sm.c
+++ b/common/usbc/usb_prl_sm.c
@@ -11,6 +11,7 @@
#include "chipset.h"
#include "common.h"
#include "console.h"
+#include "cros_version.h"
#include "ec_commands.h"
#include "gpio.h"
#include "hooks.h"
@@ -30,7 +31,6 @@
#include "usb_emsg.h"
#include "usb_sm.h"
#include "vpd_api.h"
-#include "version.h"
#ifdef CONFIG_COMMON_RUNTIME
#define CPRINTF(format, args...) cprintf(CC_USBPD, format, ## args)
diff --git a/common/usbc/usbc_task.c b/common/usbc/usbc_task.c
index d0833d9103..df9190c955 100644
--- a/common/usbc/usbc_task.c
+++ b/common/usbc/usbc_task.c
@@ -11,6 +11,7 @@
#include "chipset.h"
#include "common.h"
#include "console.h"
+#include "cros_version.h"
#include "ec_commands.h"
#include "gpio.h"
#include "hooks.h"
@@ -30,7 +31,6 @@
#include "usb_sm.h"
#include "usb_tc_sm.h"
#include "usbc_ppc.h"
-#include "version.h"
#define USBC_EVENT_TIMEOUT (5 * MSEC)
diff --git a/common/version.c b/common/version.c
index 1888fc0aef..c854e2b39f 100644
--- a/common/version.c
+++ b/common/version.c
@@ -8,11 +8,11 @@
#include <stdint.h>
#include "common.h"
#include "compile_time_macros.h"
+#include "cros_version.h"
#include "ec_commands.h"
#include "ec_version.h"
#include "stddef.h"
#include "system.h"
-#include "version.h"
BUILD_ASSERT(CONFIG_ROLLBACK_VERSION >= 0);
BUILD_ASSERT(CONFIG_ROLLBACK_VERSION <= INT32_MAX);