summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra124
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/tegra124
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/soc/nvidia/tegra124')
-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
3 files changed, 3 insertions, 3 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>