summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-08-08 13:35:31 -0600
committerMartin Roth <martinroth@google.com>2019-08-10 01:33:58 +0000
commit5cf9ccc57d8de19692603fffe4b932475b22091b (patch)
treef4754b83175f262d22cb5e4823be4775388fdb9e /src/drivers
parent6b212d8fcff125a831c0ba068903afd0b22d292c (diff)
src: Include <stdint.h> instead of <inttypes.h>
The <inttypes.h> header currently does nothing but include the definitions from <stdint.h>, so let's #include that directly instead. Change-Id: I9d83ad37d0d7300a093001596ce3f0b3830c5701 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34800 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/fsp2_0/hand_off_block.c2
-rw-r--r--src/drivers/uart/pl011.h2
-rw-r--r--src/drivers/vpd/vpd_tables.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/intel/fsp2_0/hand_off_block.c b/src/drivers/intel/fsp2_0/hand_off_block.c
index 95b8020002..3539d18f73 100644
--- a/src/drivers/intel/fsp2_0/hand_off_block.c
+++ b/src/drivers/intel/fsp2_0/hand_off_block.c
@@ -16,7 +16,7 @@
#include <console/console.h>
#include <fsp/api.h>
#include <fsp/util.h>
-#include <inttypes.h>
+#include <stdint.h>
#include <string.h>
#define HOB_HEADER_LEN 8
diff --git a/src/drivers/uart/pl011.h b/src/drivers/uart/pl011.h
index 9247ef7725..2568dbcb80 100644
--- a/src/drivers/uart/pl011.h
+++ b/src/drivers/uart/pl011.h
@@ -10,7 +10,7 @@
#ifndef __DRIVERS_UART_PL011_H
#define __DRIVERS_UART_PL011_H
-#include <inttypes.h>
+#include <stdint.h>
#include <types.h>
/* PL011 r1p5 registers */
diff --git a/src/drivers/vpd/vpd_tables.h b/src/drivers/vpd/vpd_tables.h
index 0bd215a5a6..4add5bd49d 100644
--- a/src/drivers/vpd/vpd_tables.h
+++ b/src/drivers/vpd/vpd_tables.h
@@ -9,7 +9,7 @@
#ifndef __LIB_VPD_TABLES_H__
#define __LIB_VPD_TABLES_H__
-#include <inttypes.h>
+#include <stdint.h>
#define VPD_ENTRY_MAGIC "_SM_"
#define VPD_INFO_MAGIC \