summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdfam10
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/northbridge/amd/amdfam10
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/northbridge/amd/amdfam10')
-rw-r--r--src/northbridge/amd/amdfam10/amdfam10.h2
-rw-r--r--src/northbridge/amd/amdfam10/debug.h2
-rw-r--r--src/northbridge/amd/amdfam10/early_ht.c2
-rw-r--r--src/northbridge/amd/amdfam10/pci.h2
-rw-r--r--src/northbridge/amd/amdfam10/raminit_amdmct.c2
-rw-r--r--src/northbridge/amd/amdfam10/setup_resource_map.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/northbridge/amd/amdfam10/amdfam10.h b/src/northbridge/amd/amdfam10/amdfam10.h
index 0fbcea687c..321e87d7d0 100644
--- a/src/northbridge/amd/amdfam10/amdfam10.h
+++ b/src/northbridge/amd/amdfam10/amdfam10.h
@@ -17,7 +17,7 @@
#ifndef AMDFAM10_H
#define AMDFAM10_H
-#include <inttypes.h>
+#include <stdint.h>
#include <device/device.h>
#include "early_ht.h"
diff --git a/src/northbridge/amd/amdfam10/debug.h b/src/northbridge/amd/amdfam10/debug.h
index 3710d15b77..01d87d96af 100644
--- a/src/northbridge/amd/amdfam10/debug.h
+++ b/src/northbridge/amd/amdfam10/debug.h
@@ -16,7 +16,7 @@
#ifndef AMDFAM10_DEBUG_H
#define AMDFAM10_DEBUG_H
-#include <inttypes.h>
+#include <stdint.h>
#include "pci.h"
void print_debug_addr(const char *str, void *val);
diff --git a/src/northbridge/amd/amdfam10/early_ht.c b/src/northbridge/amd/amdfam10/early_ht.c
index d8784ac728..3f2b138533 100644
--- a/src/northbridge/amd/amdfam10/early_ht.c
+++ b/src/northbridge/amd/amdfam10/early_ht.c
@@ -14,7 +14,7 @@
*/
#include "early_ht.h"
-#include <inttypes.h>
+#include <stdint.h>
#include <device/pci_ops.h>
#include <device/pci_def.h>
diff --git a/src/northbridge/amd/amdfam10/pci.h b/src/northbridge/amd/amdfam10/pci.h
index 2893949135..21623c1168 100644
--- a/src/northbridge/amd/amdfam10/pci.h
+++ b/src/northbridge/amd/amdfam10/pci.h
@@ -16,7 +16,7 @@
#ifndef AMDFAM10_PCI_H
#define AMDFAM10_PCI_H
-#include <inttypes.h>
+#include <stdint.h>
#include <device/pci_type.h>
#include <device/pci_def.h>
diff --git a/src/northbridge/amd/amdfam10/raminit_amdmct.c b/src/northbridge/amd/amdfam10/raminit_amdmct.c
index 440a02635b..a25a1510c8 100644
--- a/src/northbridge/amd/amdfam10/raminit_amdmct.c
+++ b/src/northbridge/amd/amdfam10/raminit_amdmct.c
@@ -15,7 +15,7 @@
* GNU General Public License for more details.
*/
-#include <inttypes.h>
+#include <stdint.h>
#include <arch/acpi.h>
#include <arch/cpu.h>
#include <device/pci.h>
diff --git a/src/northbridge/amd/amdfam10/setup_resource_map.c b/src/northbridge/amd/amdfam10/setup_resource_map.c
index 3e6a437934..735d72bbf7 100644
--- a/src/northbridge/amd/amdfam10/setup_resource_map.c
+++ b/src/northbridge/amd/amdfam10/setup_resource_map.c
@@ -15,7 +15,7 @@
*/
#include <arch/io.h>
-#include <inttypes.h>
+#include <stdint.h>
#include <console/console.h>
#include <device/pci_ops.h>
#include <northbridge/amd/amdfam10/raminit.h>