summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/ish/registers.h1
-rw-r--r--chip/mt_scp/registers.h1
-rw-r--r--chip/npcx/registers.h1
-rw-r--r--chip/nrf51/radio.h1
-rw-r--r--include/button.h1
-rw-r--r--include/ccd_config.h3
-rw-r--r--include/chipset.h1
-rw-r--r--include/keyboard_scan.h1
-rw-r--r--include/system.h1
-rw-r--r--include/task.h1
-rw-r--r--include/tpm_vendor_cmds.h1
11 files changed, 12 insertions, 1 deletions
diff --git a/chip/ish/registers.h b/chip/ish/registers.h
index 40f74cb394..63c16fcdb8 100644
--- a/chip/ish/registers.h
+++ b/chip/ish/registers.h
@@ -10,6 +10,7 @@
#ifndef __ASSEMBLER__
#include "common.h"
+#include "compile_time_macros.h"
/* ISH GPIO has only one port */
#define DUMMY_GPIO_BANK -1
diff --git a/chip/mt_scp/registers.h b/chip/mt_scp/registers.h
index e630eadb43..2045f8ff30 100644
--- a/chip/mt_scp/registers.h
+++ b/chip/mt_scp/registers.h
@@ -9,6 +9,7 @@
#define __CROS_EC_REGISTERS_H
#include "common.h"
+#include "compile_time_macros.h"
/* IRQ numbers */
#define SCP_IRQ_IPC0 0
diff --git a/chip/npcx/registers.h b/chip/npcx/registers.h
index 7c2b076912..3db1c79190 100644
--- a/chip/npcx/registers.h
+++ b/chip/npcx/registers.h
@@ -9,6 +9,7 @@
#define __CROS_EC_REGISTERS_H
#include "common.h"
+#include "compile_time_macros.h"
#include "clock_chip.h"
/******************************************************************************/
diff --git a/chip/nrf51/radio.h b/chip/nrf51/radio.h
index 43232202f2..5b7e764fb9 100644
--- a/chip/nrf51/radio.h
+++ b/chip/nrf51/radio.h
@@ -9,6 +9,7 @@
#define __NRF51_RADIO_H
#include "common.h"
+#include "compile_time_macros.h"
#include "registers.h"
#ifndef NRF51_RADIO_MAX_PAYLOAD
diff --git a/include/button.h b/include/button.h
index 29b648eb60..5fca2e9037 100644
--- a/include/button.h
+++ b/include/button.h
@@ -9,6 +9,7 @@
#define __CROS_EC_BUTTON_H
#include "common.h"
+#include "compile_time_macros.h"
#include "gpio.h"
#define BUTTON_FLAG_ACTIVE_HIGH (1 << 0)
diff --git a/include/ccd_config.h b/include/ccd_config.h
index e670eb012a..d3ac141d49 100644
--- a/include/ccd_config.h
+++ b/include/ccd_config.h
@@ -7,8 +7,9 @@
#ifndef __CROS_EC_CCD_CONFIG_H
#define __CROS_EC_CCD_CONFIG_H
-#include <common.h>
#include <stdint.h>
+#include "common.h"
+#include "compile_time_macros.h"
/* Case-closed debugging state */
enum ccd_state {
diff --git a/include/chipset.h b/include/chipset.h
index a8a56cc631..8e834680e7 100644
--- a/include/chipset.h
+++ b/include/chipset.h
@@ -14,6 +14,7 @@
#define __CROS_EC_CHIPSET_H
#include "common.h"
+#include "compile_time_macros.h"
#include "gpio.h"
/*
diff --git a/include/keyboard_scan.h b/include/keyboard_scan.h
index 4bb44434fc..9d1b506f9d 100644
--- a/include/keyboard_scan.h
+++ b/include/keyboard_scan.h
@@ -9,6 +9,7 @@
#define __CROS_EC_KEYBOARD_SCAN_H
#include "common.h"
+#include "compile_time_macros.h"
#include "keyboard_config.h"
struct keyboard_scan_config {
diff --git a/include/system.h b/include/system.h
index f62ba4549a..f1c2d33cbf 100644
--- a/include/system.h
+++ b/include/system.h
@@ -10,6 +10,7 @@
#include "atomic.h"
#include "common.h"
+#include "compile_time_macros.h"
#include "console.h"
#include "timer.h"
diff --git a/include/task.h b/include/task.h
index 08acec1714..014531721c 100644
--- a/include/task.h
+++ b/include/task.h
@@ -9,6 +9,7 @@
#define __CROS_EC_TASK_H
#include "common.h"
+#include "compile_time_macros.h"
#include "task_id.h"
/* Task event bitmasks */
diff --git a/include/tpm_vendor_cmds.h b/include/tpm_vendor_cmds.h
index af91eaa2c3..c17929f96d 100644
--- a/include/tpm_vendor_cmds.h
+++ b/include/tpm_vendor_cmds.h
@@ -7,6 +7,7 @@
#define __INCLUDE_TPM_VENDOR_CMDS_H
#include "common.h" /* For __packed. */
+#include "compile_time_macros.h" /* For BIT. */
/*
* This file includes definitions of extended/vendor TPM2 commands and their