summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
Diffstat (limited to 'chip')
-rw-r--r--chip/ish/ipc_heci.h2
-rw-r--r--chip/max32660/wdt_chip.c2
-rw-r--r--chip/stm32/usb_hid_hw.h2
3 files changed, 5 insertions, 1 deletions
diff --git a/chip/ish/ipc_heci.h b/chip/ish/ipc_heci.h
index f9372aefa3..96b08f9c4a 100644
--- a/chip/ish/ipc_heci.h
+++ b/chip/ish/ipc_heci.h
@@ -7,6 +7,8 @@
#ifndef __IPC_HECI_H
#define __IPC_HECI_H
+#include <stddef.h>
+
enum IPC_ERR {
IPC_ERR_IPC_IS_NOT_READY = EC_ERROR_INTERNAL_FIRST + 0,
IPC_ERR_TOO_SMALL_BUFFER = EC_ERROR_INTERNAL_FIRST + 1,
diff --git a/chip/max32660/wdt_chip.c b/chip/max32660/wdt_chip.c
index 03cd2bd009..af9a5d2ef4 100644
--- a/chip/max32660/wdt_chip.c
+++ b/chip/max32660/wdt_chip.c
@@ -7,6 +7,7 @@
#include "clock.h"
#include "common.h"
+#include "config.h"
#include "gpio.h"
#include "hooks.h"
#include "task.h"
@@ -14,7 +15,6 @@
#include "watchdog.h"
#include "console.h"
#include "registers.h"
-#include "board.h"
#include "wdt_regs.h"
#define CPUTS(outstr) cputs(CC_COMMAND, outstr)
diff --git a/chip/stm32/usb_hid_hw.h b/chip/stm32/usb_hid_hw.h
index 54bfca0808..5e28a801c1 100644
--- a/chip/stm32/usb_hid_hw.h
+++ b/chip/stm32/usb_hid_hw.h
@@ -8,6 +8,8 @@
#ifndef __CROS_EC_USB_HID_HW_H
#define __CROS_EC_USB_HID_HW_H
+#include "chip/stm32/usb_hw.h"
+
#include <common.h>
struct usb_hid_config_t {