summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-06-23 07:03:59 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-07-25 16:06:32 +0000
commit308185546b1f0a0083db80da7ebef7b254fa2129 (patch)
tree1d5ce5424b362c19542e43e899ba5faa2ad58593 /src/soc/nvidia/tegra
parent0f33d8c29aadce21b02d0376547441b6f38dcede (diff)
soc/nvidia: Use 'include <stdlib.h>' when appropriate
Also including <types.h>, is supposed to provide stdint and stddef. Change-Id: I812d468c68b31917da5d406e2fb3b84bc6331b69 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33687 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/nvidia/tegra')
-rw-r--r--src/soc/nvidia/tegra/i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra/i2c.c b/src/soc/nvidia/tegra/i2c.c
index 9dbfde8352..c28cd0b1de 100644
--- a/src/soc/nvidia/tegra/i2c.c
+++ b/src/soc/nvidia/tegra/i2c.c
@@ -17,9 +17,10 @@
#include <console/console.h>
#include <delay.h>
#include <device/i2c_simple.h>
-#include <stdlib.h>
#include <string.h>
#include <soc/addressmap.h>
+#include <stdint.h>
+
#include "i2c.h"
static void do_bus_clear(int bus)