summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-12-31 08:10:55 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-01 14:58:44 +0000
commitb7ec42d2ff28527690d8e9762cf13cb941bfd491 (patch)
treef28c57296f3f2e8ddc4eb4016e6f8ebd91ed20fe /src/soc/intel/baytrail
parent8292f4160a80a391892a42c7305e5992d278d254 (diff)
src: Use 'stdint.h' when appropriate
Change-Id: I1df255d55b8f43a711d836c2565c367bd988098a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60549 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r--src/soc/intel/baytrail/include/soc/modphy_table.h2
-rw-r--r--src/soc/intel/baytrail/modphy_table.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/include/soc/modphy_table.h b/src/soc/intel/baytrail/include/soc/modphy_table.h
index 9a483c4a6a..0561841a0b 100644
--- a/src/soc/intel/baytrail/include/soc/modphy_table.h
+++ b/src/soc/intel/baytrail/include/soc/modphy_table.h
@@ -3,6 +3,8 @@
#ifndef _BAYTRAIL_MODPHY_TABLE_H_
#define _BAYTRAIL_MODPHY_TABLE_H_
+#include <stdint.h>
+
struct modphy_entry {
u8 port;
u32 reg;
diff --git a/src/soc/intel/baytrail/modphy_table.c b/src/soc/intel/baytrail/modphy_table.c
index f028c8f3de..ebda7001e0 100644
--- a/src/soc/intel/baytrail/modphy_table.c
+++ b/src/soc/intel/baytrail/modphy_table.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stdint.h>
#include <soc/modphy_table.h>
struct modphy_entry reva0_modphy_table[] = { /* SOC stepping A0/A1 */