summaryrefslogtreecommitdiff
path: root/src/soc/nvidia
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/soc/nvidia
parent6b212d8fcff125a831c0ba068903afd0b22d292c (diff)
downloadcoreboot-5cf9ccc57d8de19692603fffe4b932475b22091b.tar.xz
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/soc/nvidia')
-rw-r--r--src/soc/nvidia/tegra124/dma.c2
-rw-r--r--src/soc/nvidia/tegra124/include/soc/dma.h2
-rw-r--r--src/soc/nvidia/tegra124/spi.c2
-rw-r--r--src/soc/nvidia/tegra210/dma.c2
-rw-r--r--src/soc/nvidia/tegra210/include/soc/dma.h2
-rw-r--r--src/soc/nvidia/tegra210/spi.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/nvidia/tegra124/dma.c b/src/soc/nvidia/tegra124/dma.c
index 73d050f602..761bb6bce5 100644
--- a/src/soc/nvidia/tegra124/dma.c
+++ b/src/soc/nvidia/tegra124/dma.c
@@ -17,7 +17,7 @@
#include <device/mmio.h>
#include <console/console.h>
-#include <inttypes.h>
+#include <stdint.h>
#include <soc/addressmap.h>
#include <soc/dma.h>
#include <stddef.h>
diff --git a/src/soc/nvidia/tegra124/include/soc/dma.h b/src/soc/nvidia/tegra124/include/soc/dma.h
index 42c70275f5..3d6d209153 100644
--- a/src/soc/nvidia/tegra124/include/soc/dma.h
+++ b/src/soc/nvidia/tegra124/include/soc/dma.h
@@ -18,7 +18,7 @@
#ifndef __NVIDIA_TEGRA124_DMA_H__
#define __NVIDIA_TEGRA124_DMA_H__
-#include <inttypes.h>
+#include <stdint.h>
#include <soc/addressmap.h>
/*
diff --git a/src/soc/nvidia/tegra124/spi.c b/src/soc/nvidia/tegra124/spi.c
index 4bd0ab7d1a..2d6469cc3f 100644
--- a/src/soc/nvidia/tegra124/spi.c
+++ b/src/soc/nvidia/tegra124/spi.c
@@ -20,7 +20,7 @@
#include <boot_device.h>
#include <console/console.h>
#include <delay.h>
-#include <inttypes.h>
+#include <stdint.h>
#include <soc/addressmap.h>
#include <soc/dma.h>
#include <soc/spi.h>
diff --git a/src/soc/nvidia/tegra210/dma.c b/src/soc/nvidia/tegra210/dma.c
index 03c5e6783e..75376d98f0 100644
--- a/src/soc/nvidia/tegra210/dma.c
+++ b/src/soc/nvidia/tegra210/dma.c
@@ -17,7 +17,7 @@
#include <device/mmio.h>
#include <console/console.h>
-#include <inttypes.h>
+#include <stdint.h>
#include <soc/addressmap.h>
#include <soc/dma.h>
#include <stddef.h>
diff --git a/src/soc/nvidia/tegra210/include/soc/dma.h b/src/soc/nvidia/tegra210/include/soc/dma.h
index 3cb94ce8d3..6d934191a4 100644
--- a/src/soc/nvidia/tegra210/include/soc/dma.h
+++ b/src/soc/nvidia/tegra210/include/soc/dma.h
@@ -17,7 +17,7 @@
#ifndef __NVIDIA_TEGRA210_DMA_H__
#define __NVIDIA_TEGRA210_DMA_H__
-#include <inttypes.h>
+#include <stdint.h>
#include <soc/addressmap.h>
#include <types.h>
diff --git a/src/soc/nvidia/tegra210/spi.c b/src/soc/nvidia/tegra210/spi.c
index 6ec8b641ab..5a065ba199 100644
--- a/src/soc/nvidia/tegra210/spi.c
+++ b/src/soc/nvidia/tegra210/spi.c
@@ -20,7 +20,7 @@
#include <boot_device.h>
#include <console/console.h>
#include <delay.h>
-#include <inttypes.h>
+#include <stdint.h>
#include <spi-generic.h>
#include <spi_flash.h>
#include <soc/addressmap.h>