summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-01 11:29:50 +0100
committerNico Huber <nico.h@gmx.de>2018-11-01 11:25:07 +0000
commitc4e41937150beab78ba5d492b7b22799d20a0ee4 (patch)
treef8248eb3b2988bc5d3384b96f87bb848f6876134 /src/mainboard
parent1956a00953d8eac277b0eb508fcfe60c8f4e1141 (diff)
downloadcoreboot-c4e41937150beab78ba5d492b7b22799d20a0ee4.tar.xz
src: Add missing include <stdint.h>
Change-Id: Idf10a09745756887a517da4c26db7a90a1bf9543 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29403 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h2
-rw-r--r--src/mainboard/google/urara/urara_boardid.h2
-rw-r--r--src/mainboard/pcengines/apu1/gpio_ftns.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h b/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h
index 903ebaa3a0..8f1e24ccfa 100644
--- a/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h
+++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h
@@ -17,6 +17,8 @@
* Copyed over from qemu soure tree, include/hw/nvram/fw_cfg.h
*/
+#include <stdint.h>
+
#define FW_CFG_SIGNATURE 0x00
#define FW_CFG_ID 0x01
#define FW_CFG_UUID 0x02
diff --git a/src/mainboard/google/urara/urara_boardid.h b/src/mainboard/google/urara/urara_boardid.h
index 7c7c04584e..fbd9179a8a 100644
--- a/src/mainboard/google/urara/urara_boardid.h
+++ b/src/mainboard/google/urara/urara_boardid.h
@@ -16,6 +16,8 @@
#ifndef __MAINBOARD_GOOGLE_URARA_URARA_BOARDID_H__
#define __MAINBOARD_GOOGLE_URARA_URARA_BOARDID_H__
+#include <stdint.h>
+
/*
* List of URARA derivatives board ID definitions. They are stored in uint8_t
* across the code, using #defines here not to imply any specific size.
diff --git a/src/mainboard/pcengines/apu1/gpio_ftns.h b/src/mainboard/pcengines/apu1/gpio_ftns.h
index 8eadebd408..fce8afe6f0 100644
--- a/src/mainboard/pcengines/apu1/gpio_ftns.h
+++ b/src/mainboard/pcengines/apu1/gpio_ftns.h
@@ -16,6 +16,8 @@
#ifndef GPIO_FTNS_H
#define GPIO_FTNS_H
+#include <stdint.h>
+
uintptr_t find_gpio_base(void);
void configure_gpio(uintptr_t base_addr, u32 gpio, u8 iomux_ftn, u8 setting);
u8 read_gpio(uintptr_t base_addr, u32 gpio);