summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/cyan
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-11-06 16:13:15 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-11-11 06:25:12 +0000
commit9a3bde0581a574956dd57ca24683c41ac7e0edfc (patch)
tree3d4e3e375f82fcf79d571fd4220967af1517f10a /src/mainboard/google/cyan
parentbc94d60924483606763a68b313c57559ae759dd7 (diff)
downloadcoreboot-9a3bde0581a574956dd57ca24683c41ac7e0edfc.tar.gz
coreboot-9a3bde0581a574956dd57ca24683c41ac7e0edfc.tar.bz2
coreboot-9a3bde0581a574956dd57ca24683c41ac7e0edfc.zip
ChromeOS: Replace with or add <types.h>
It's commented in <types.h> that it shall provide <commonlib/helpers.h>. Fix for ARRAY_SIZE() in bulk, followup works will reduce the number of other includes these files have. Change-Id: I2572aaa2cf4254f0dea6698cba627de12725200f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58996 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/cyan')
-rw-r--r--src/mainboard/google/cyan/chromeos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/cyan/chromeos.c b/src/mainboard/google/cyan/chromeos.c
index 14efdc3e4fb2..f0c144616011 100644
--- a/src/mainboard/google/cyan/chromeos.c
+++ b/src/mainboard/google/cyan/chromeos.c
@@ -5,6 +5,7 @@
#include <device/mmio.h>
#include <gpio.h>
#include <soc/gpio.h>
+#include <types.h>
#include <vendorcode/google/chromeos/chromeos.h>
/* The WP status pin lives on MF_ISH_GPIO_4 */