summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra210/spi.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 21:11:39 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:28:56 +0000
commit27d02d8286aff64115ae593a189c38fdaf3ce769 (patch)
tree53b2eccef24a14c530b5af9d75488a1ff9147342 /src/soc/nvidia/tegra210/spi.c
parentab89edbccf6e614213bbd88f5dbd5c8bf9a5d4c6 (diff)
downloadcoreboot-27d02d8286aff64115ae593a189c38fdaf3ce769.tar.xz
src/soc: Add missing 'include <types.h>'
<types.h> is supposed to provide <stdint.h> and <stddef.h>. When <types.h> is included, <stdint.h> and/or <stddef.h> is removed. Change-Id: I2db0a647bc657a3626cb5e78f23e9198e290261a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32810 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/soc/nvidia/tegra210/spi.c')
-rw-r--r--src/soc/nvidia/tegra210/spi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/nvidia/tegra210/spi.c b/src/soc/nvidia/tegra210/spi.c
index edb052df6b..9310e0cc09 100644
--- a/src/soc/nvidia/tegra210/spi.c
+++ b/src/soc/nvidia/tegra210/spi.c
@@ -26,9 +26,8 @@
#include <soc/addressmap.h>
#include <soc/dma.h>
#include <soc/spi.h>
-#include <stdint.h>
-#include <stdlib.h>
#include <symbols.h>
+#include <types.h>
#if defined(CONFIG_DEBUG_SPI) && CONFIG_DEBUG_SPI
# define DEBUG_SPI(x,...) printk(BIOS_DEBUG, "TEGRA_SPI: " x)