diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-08-08 13:35:31 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-08-10 01:33:58 +0000 |
commit | 5cf9ccc57d8de19692603fffe4b932475b22091b (patch) | |
tree | f4754b83175f262d22cb5e4823be4775388fdb9e /src/soc | |
parent | 6b212d8fcff125a831c0ba068903afd0b22d292c (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')
-rw-r--r-- | src/soc/cavium/cn81xx/include/soc/soc.h | 2 | ||||
-rw-r--r-- | src/soc/cavium/cn81xx/include/soc/timer.h | 2 | ||||
-rw-r--r-- | src/soc/cavium/cn81xx/include/soc/uart.h | 2 | ||||
-rw-r--r-- | src/soc/cavium/cn81xx/timer.c | 1 | ||||
-rw-r--r-- | src/soc/nvidia/tegra124/dma.c | 2 | ||||
-rw-r--r-- | src/soc/nvidia/tegra124/include/soc/dma.h | 2 | ||||
-rw-r--r-- | src/soc/nvidia/tegra124/spi.c | 2 | ||||
-rw-r--r-- | src/soc/nvidia/tegra210/dma.c | 2 | ||||
-rw-r--r-- | src/soc/nvidia/tegra210/include/soc/dma.h | 2 | ||||
-rw-r--r-- | src/soc/nvidia/tegra210/spi.c | 2 | ||||
-rw-r--r-- | src/soc/rockchip/rk3288/include/soc/timer.h | 2 | ||||
-rw-r--r-- | src/soc/rockchip/rk3399/include/soc/timer.h | 2 |
12 files changed, 11 insertions, 12 deletions
diff --git a/src/soc/cavium/cn81xx/include/soc/soc.h b/src/soc/cavium/cn81xx/include/soc/soc.h index a751e64846..582cff3e29 100644 --- a/src/soc/cavium/cn81xx/include/soc/soc.h +++ b/src/soc/cavium/cn81xx/include/soc/soc.h @@ -16,7 +16,7 @@ #ifndef __SOC_CAVIUM_CN81XX_INCLUDE_SOC_SOC_H #define __SOC_CAVIUM_CN81XX_INCLUDE_SOC_SOC_H -#include <inttypes.h> +#include <stdint.h> #include <types.h> /* MIO BOOT Registers */ diff --git a/src/soc/cavium/cn81xx/include/soc/timer.h b/src/soc/cavium/cn81xx/include/soc/timer.h index 4e4131136e..5e6673e0ea 100644 --- a/src/soc/cavium/cn81xx/include/soc/timer.h +++ b/src/soc/cavium/cn81xx/include/soc/timer.h @@ -16,7 +16,7 @@ #ifndef __SOC_CAVIUM_CN81XX_TIMER_H__ #define __SOC_CAVIUM_CN81XX_TIMER_H__ -#include <inttypes.h> +#include <stdint.h> #include <types.h> /* Watchdog functions */ diff --git a/src/soc/cavium/cn81xx/include/soc/uart.h b/src/soc/cavium/cn81xx/include/soc/uart.h index e4022068bc..baa06e1f89 100644 --- a/src/soc/cavium/cn81xx/include/soc/uart.h +++ b/src/soc/cavium/cn81xx/include/soc/uart.h @@ -16,7 +16,7 @@ #ifndef __SOC_CAVIUM_COMMON_INCLUDE_SOC_UART_H #define __SOC_CAVIUM_COMMON_INCLUDE_SOC_UART_H -#include <inttypes.h> +#include <stdint.h> #include <types.h> int uart_is_enabled(const size_t bus); diff --git a/src/soc/cavium/cn81xx/timer.c b/src/soc/cavium/cn81xx/timer.c index b333c7e4d6..bd67d8a888 100644 --- a/src/soc/cavium/cn81xx/timer.c +++ b/src/soc/cavium/cn81xx/timer.c @@ -20,7 +20,6 @@ #include <device/mmio.h> #include <arch/lib_helpers.h> #include <console/console.h> -#include <inttypes.h> #include <soc/clock.h> #include <soc/timer.h> #include <stdint.h> 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> diff --git a/src/soc/rockchip/rk3288/include/soc/timer.h b/src/soc/rockchip/rk3288/include/soc/timer.h index 04efeaf917..1d08fcc1e2 100644 --- a/src/soc/rockchip/rk3288/include/soc/timer.h +++ b/src/soc/rockchip/rk3288/include/soc/timer.h @@ -16,7 +16,7 @@ #ifndef __SOC_ROCKCHIP_RK3288_TIMER_H__ #define __SOC_ROCKCHIP_RK3288_TIMER_H__ -#include <inttypes.h> +#include <stdint.h> #include <soc/addressmap.h> #include <soc/clock.h> #include <timer.h> diff --git a/src/soc/rockchip/rk3399/include/soc/timer.h b/src/soc/rockchip/rk3399/include/soc/timer.h index 8513cfa5bc..46c69e6a2f 100644 --- a/src/soc/rockchip/rk3399/include/soc/timer.h +++ b/src/soc/rockchip/rk3399/include/soc/timer.h @@ -16,7 +16,7 @@ #ifndef __SOC_ROCKCHIP_RK3399_TIMER_H__ #define __SOC_ROCKCHIP_RK3399_TIMER_H__ -#include <inttypes.h> +#include <stdint.h> #include <soc/addressmap.h> #include <timer.h> |