HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31817
Change subject: src: Include <stdint.h> instead of <inttypes.h> ......................................................................
src: Include <stdint.h> instead of <inttypes.h>
Change-Id: I2708d4b6edbda58c9a70fe84de2463c2035c92a2 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/cpu/amd/family_10h-family_15h/fidvid.c M src/drivers/intel/fsp2_0/hand_off_block.c M src/drivers/uart/pl011.h M src/drivers/vpd/lib_vpd.h M src/drivers/vpd/vpd_tables.h M src/lib/primitive_memtest.c M src/northbridge/amd/amdfam10/amdfam10.h M src/northbridge/amd/amdfam10/debug.h M src/northbridge/amd/amdfam10/early_ht.c M src/northbridge/amd/amdfam10/pci.h M src/northbridge/amd/amdfam10/raminit_amdmct.c M src/northbridge/amd/amdfam10/setup_resource_map.c M src/northbridge/amd/amdht/comlib.h M src/northbridge/amd/amdht/h3ncmn.h M src/northbridge/amd/amdht/ht_wrapper.h M src/northbridge/amd/amdmct/mct/mct_d.h M src/northbridge/amd/amdmct/mct/mct_d_gcc.h M src/northbridge/amd/amdmct/mct/mctardk3.c M src/northbridge/amd/amdmct/mct/mctardk4.c M src/northbridge/amd/amdmct/mct_ddr3/mct_d.h M src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.c M src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.h M src/northbridge/amd/amdmct/mct_ddr3/mctardk5.c M src/northbridge/amd/amdmct/mct_ddr3/mctchi_d.c M src/northbridge/amd/amdmct/mct_ddr3/mctcsi_d.c M src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c M src/northbridge/amd/amdmct/mct_ddr3/mctecc_d.c M src/northbridge/amd/amdmct/mct_ddr3/mcthdi.c M src/northbridge/amd/amdmct/mct_ddr3/mcthwl.c M src/northbridge/amd/amdmct/mct_ddr3/mctmtr_d.c M src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c M src/northbridge/amd/amdmct/mct_ddr3/mctprob.c M src/northbridge/amd/amdmct/mct_ddr3/mctproc.c M src/northbridge/amd/amdmct/mct_ddr3/mctprod.c M src/northbridge/amd/amdmct/mct_ddr3/mctrci.c M src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c M src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c M src/northbridge/amd/amdmct/mct_ddr3/mctsrc1p.c M src/northbridge/amd/amdmct/mct_ddr3/mcttmrl.c M src/northbridge/amd/amdmct/mct_ddr3/mctwl.c M src/northbridge/amd/amdmct/mct_ddr3/mhwlc_d.c M src/northbridge/amd/amdmct/mct_ddr3/modtrd.c M src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c M src/northbridge/amd/amdmct/mct_ddr3/mport_d.c M src/northbridge/amd/amdmct/mct_ddr3/mutilc_d.c M src/northbridge/amd/amdmct/mct_ddr3/s3utils.c M src/northbridge/amd/amdmct/wrappers/mcti.h M src/soc/cavium/cn81xx/include/soc/soc.h M src/soc/cavium/cn81xx/include/soc/timer.h M src/soc/cavium/cn81xx/include/soc/uart.h M src/soc/cavium/cn81xx/timer.c M src/soc/nvidia/tegra124/dma.c M src/soc/nvidia/tegra124/include/soc/dma.h M src/soc/nvidia/tegra124/spi.c M src/soc/nvidia/tegra210/dma.c M src/soc/nvidia/tegra210/include/soc/dma.h M src/soc/nvidia/tegra210/spi.c M src/soc/rockchip/rk3288/include/soc/timer.h M src/soc/rockchip/rk3399/include/soc/timer.h 59 files changed, 57 insertions(+), 59 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/31817/1
diff --git a/src/cpu/amd/family_10h-family_15h/fidvid.c b/src/cpu/amd/family_10h-family_15h/fidvid.c index 428924d..8da6079 100644 --- a/src/cpu/amd/family_10h-family_15h/fidvid.c +++ b/src/cpu/amd/family_10h-family_15h/fidvid.c @@ -90,7 +90,7 @@ */
#include <cpu/amd/msr.h> -#include <inttypes.h> +#include <stdint.h> #include <northbridge/amd/amdht/AsPsDefs.h>
static inline void print_debug_fv(const char *str, u32 val) diff --git a/src/drivers/intel/fsp2_0/hand_off_block.c b/src/drivers/intel/fsp2_0/hand_off_block.c index 86f0b26..69e1f52 100644 --- a/src/drivers/intel/fsp2_0/hand_off_block.c +++ b/src/drivers/intel/fsp2_0/hand_off_block.c @@ -17,7 +17,7 @@ #include <console/console.h> #include <fsp/api.h> #include <fsp/util.h> -#include <inttypes.h> +#include <stdint.h> #include <string.h>
#define HOB_HEADER_LEN 8 diff --git a/src/drivers/uart/pl011.h b/src/drivers/uart/pl011.h index 9247ef7..2568dbc 100644 --- a/src/drivers/uart/pl011.h +++ b/src/drivers/uart/pl011.h @@ -10,7 +10,7 @@ #ifndef __DRIVERS_UART_PL011_H #define __DRIVERS_UART_PL011_H
-#include <inttypes.h> +#include <stdint.h> #include <types.h>
/* PL011 r1p5 registers */ diff --git a/src/drivers/vpd/lib_vpd.h b/src/drivers/vpd/lib_vpd.h index 156d279..ea95bba 100644 --- a/src/drivers/vpd/lib_vpd.h +++ b/src/drivers/vpd/lib_vpd.h @@ -8,7 +8,7 @@ #ifndef __LIB_VPD__ #define __LIB_VPD__
-#include <inttypes.h> +#include <stdint.h>
enum { VPD_OK = 0, diff --git a/src/drivers/vpd/vpd_tables.h b/src/drivers/vpd/vpd_tables.h index 0bd215a..4add5bd 100644 --- a/src/drivers/vpd/vpd_tables.h +++ b/src/drivers/vpd/vpd_tables.h @@ -9,7 +9,7 @@ #ifndef __LIB_VPD_TABLES_H__ #define __LIB_VPD_TABLES_H__
-#include <inttypes.h> +#include <stdint.h>
#define VPD_ENTRY_MAGIC "_SM_" #define VPD_INFO_MAGIC \ diff --git a/src/lib/primitive_memtest.c b/src/lib/primitive_memtest.c index c699e89..aa01377 100644 --- a/src/lib/primitive_memtest.c +++ b/src/lib/primitive_memtest.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <lib.h> #include <console/console.h>
diff --git a/src/northbridge/amd/amdfam10/amdfam10.h b/src/northbridge/amd/amdfam10/amdfam10.h index d2a0528..0690aa5 100644 --- a/src/northbridge/amd/amdfam10/amdfam10.h +++ b/src/northbridge/amd/amdfam10/amdfam10.h @@ -17,7 +17,7 @@ #ifndef AMDFAM10_H #define AMDFAM10_H
-#include <inttypes.h> +#include <stdint.h> #include <device/device.h> #include "early_ht.h"
diff --git a/src/northbridge/amd/amdfam10/debug.h b/src/northbridge/amd/amdfam10/debug.h index a23303e..e24290e 100644 --- a/src/northbridge/amd/amdfam10/debug.h +++ b/src/northbridge/amd/amdfam10/debug.h @@ -16,7 +16,7 @@ #ifndef AMDFAM10_DEBUG_H #define AMDFAM10_DEBUG_H
-#include <inttypes.h> +#include <stdint.h> #include "pci.h"
void print_debug_addr(const char *str, void *val); diff --git a/src/northbridge/amd/amdfam10/early_ht.c b/src/northbridge/amd/amdfam10/early_ht.c index afa07bb..b1bd26a 100644 --- a/src/northbridge/amd/amdfam10/early_ht.c +++ b/src/northbridge/amd/amdfam10/early_ht.c @@ -14,7 +14,7 @@ */
#include "early_ht.h" -#include <inttypes.h> +#include <stdint.h> #include <device/pci_ops.h> #include <device/pci_def.h>
diff --git a/src/northbridge/amd/amdfam10/pci.h b/src/northbridge/amd/amdfam10/pci.h index 2893949..21623c1 100644 --- a/src/northbridge/amd/amdfam10/pci.h +++ b/src/northbridge/amd/amdfam10/pci.h @@ -16,7 +16,7 @@ #ifndef AMDFAM10_PCI_H #define AMDFAM10_PCI_H
-#include <inttypes.h> +#include <stdint.h> #include <device/pci_type.h> #include <device/pci_def.h>
diff --git a/src/northbridge/amd/amdfam10/raminit_amdmct.c b/src/northbridge/amd/amdfam10/raminit_amdmct.c index 8dee9ab..ae0098c 100644 --- a/src/northbridge/amd/amdfam10/raminit_amdmct.c +++ b/src/northbridge/amd/amdfam10/raminit_amdmct.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <arch/acpi.h> #include <arch/cpu.h> #include <device/pci.h> diff --git a/src/northbridge/amd/amdfam10/setup_resource_map.c b/src/northbridge/amd/amdfam10/setup_resource_map.c index de2eeac..13ff018 100644 --- a/src/northbridge/amd/amdfam10/setup_resource_map.c +++ b/src/northbridge/amd/amdfam10/setup_resource_map.c @@ -15,7 +15,7 @@ */
#include <arch/io.h> -#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <device/pci_ops.h> #include <northbridge/amd/amdfam10/raminit.h> diff --git a/src/northbridge/amd/amdht/comlib.h b/src/northbridge/amd/amdht/comlib.h index d497fd2..94e5ac8 100644 --- a/src/northbridge/amd/amdht/comlib.h +++ b/src/northbridge/amd/amdht/comlib.h @@ -19,7 +19,7 @@ #undef FILECODE #define FILECODE 0xF001
-#include <inttypes.h> +#include <stdint.h> #include <stdlib.h> #include "porting.h"
diff --git a/src/northbridge/amd/amdht/h3ncmn.h b/src/northbridge/amd/amdht/h3ncmn.h index f4a782d..7292c64 100644 --- a/src/northbridge/amd/amdht/h3ncmn.h +++ b/src/northbridge/amd/amdht/h3ncmn.h @@ -17,7 +17,7 @@ #ifndef H3NCMN_H #define H3NCMN_H
-#include <inttypes.h> +#include <stdint.h> #include <device/pci.h> #include <console/console.h> #include <cpu/amd/msr.h> diff --git a/src/northbridge/amd/amdht/ht_wrapper.h b/src/northbridge/amd/amdht/ht_wrapper.h index 331c3df..629e08f 100644 --- a/src/northbridge/amd/amdht/ht_wrapper.h +++ b/src/northbridge/amd/amdht/ht_wrapper.h @@ -18,7 +18,7 @@
#include <northbridge/amd/amdfam10/raminit.h> #include <northbridge/amd/amdfam10/amdfam10.h> -#include <inttypes.h> +#include <stdint.h> #include "h3finit.h"
void amd_ht_fixup(struct sys_info *sysinfo); diff --git a/src/northbridge/amd/amdmct/mct/mct_d.h b/src/northbridge/amd/amdmct/mct/mct_d.h index 5d31d44..b97079c 100644 --- a/src/northbridge/amd/amdmct/mct/mct_d.h +++ b/src/northbridge/amd/amdmct/mct/mct_d.h @@ -22,7 +22,7 @@
#define DQS_TRAIN_DEBUG 0
-#include <inttypes.h> +#include <stdint.h> #include "mct_d_gcc.h" #include <console/console.h> #include <northbridge/amd/amdfam10/debug.h> diff --git a/src/northbridge/amd/amdmct/mct/mct_d_gcc.h b/src/northbridge/amd/amdmct/mct/mct_d_gcc.h index 0b9a7d1..993aa21d 100644 --- a/src/northbridge/amd/amdmct/mct/mct_d_gcc.h +++ b/src/northbridge/amd/amdmct/mct/mct_d_gcc.h @@ -16,7 +16,7 @@ #ifndef MCT_D_GCC_H #define MCT_D_GCC_H
-#include <inttypes.h> +#include <stdint.h>
void _WRMSR(u32 addr, u32 lo, u32 hi); void _RDMSR(u32 addr, u32 *lo, u32 *hi); diff --git a/src/northbridge/amd/amdmct/mct/mctardk3.c b/src/northbridge/amd/amdmct/mct/mctardk3.c index ce79a52..5cd18fd 100644 --- a/src/northbridge/amd/amdmct/mct/mctardk3.c +++ b/src/northbridge/amd/amdmct/mct/mctardk3.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include "mct_d.h"
static void Get_ChannelPS_Cfg0_D(u8 MAAdimms, u8 Speed, u8 MAAload, diff --git a/src/northbridge/amd/amdmct/mct/mctardk4.c b/src/northbridge/amd/amdmct/mct/mctardk4.c index d112c46..fc73b33 100644 --- a/src/northbridge/amd/amdmct/mct/mctardk4.c +++ b/src/northbridge/amd/amdmct/mct/mctardk4.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include "mct_d.h"
static void Get_ChannelPS_Cfg0_D(u8 MAAdimms, u8 Speed, u8 MAAload, diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mct_d.h b/src/northbridge/amd/amdmct/mct_ddr3/mct_d.h index 3cda13f..952a66f 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mct_d.h +++ b/src/northbridge/amd/amdmct/mct_ddr3/mct_d.h @@ -22,7 +22,7 @@
#define DQS_TRAIN_DEBUG 0
-#include <inttypes.h> +#include <stdint.h> #include <northbridge/amd/amdfam10/raminit.h>
/*=========================================================================== diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.c b/src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.c index 82911c0..ccea732 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.c @@ -15,7 +15,7 @@ */
#include "mct_d_gcc.h" -#include <inttypes.h> +#include <stdint.h> #include <arch/cpu.h>
void _WRMSR(u32 addr, u32 lo, u32 hi) diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.h b/src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.h index f0d0f76..629e6e6 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.h +++ b/src/northbridge/amd/amdmct/mct_ddr3/mct_d_gcc.h @@ -17,7 +17,7 @@ #ifndef MCT_D_GCC_H #define MCT_D_GCC_H
-#include <inttypes.h> +#include <stdint.h> #include <cpu/x86/cr.h>
void _WRMSR(u32 addr, u32 lo, u32 hi); diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctardk5.c b/src/northbridge/amd/amdmct/mct_ddr3/mctardk5.c index 2e5a500..e811634 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctardk5.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctardk5.c @@ -17,7 +17,7 @@ /* AM3/ASB2/C32/G34 DDR3 */
#include <arch/cpu.h> -#include <inttypes.h> +#include <stdint.h> #include "mct_d.h" #include "mct_d_gcc.h"
diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctchi_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctchi_d.c index 55cf3a1..d458f3a 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctchi_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctchi_d.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include "mct_d.h" #include "mct_d_gcc.h" #include <console/console.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctcsi_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctcsi_d.c index 716e419..85e7930 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctcsi_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctcsi_d.c @@ -20,7 +20,7 @@ * ;page size), and subtract 8. */
-#include <inttypes.h> +#include <stdint.h> #include "mct_d.h" #include "mct_d_gcc.h" #include <console/console.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c index 34b13ea..5253694 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include <arch/cpu.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctecc_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctecc_d.c index 6d41560..0ed953d 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctecc_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctecc_d.c @@ -15,7 +15,7 @@ */
#include <arch/cpu.h> -#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <device/pci_ops.h> #include <string.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mcthdi.c b/src/northbridge/amd/amdmct/mct_ddr3/mcthdi.c index 2038af9..c821ec0 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mcthdi.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mcthdi.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include "mct_d.h" #include "mct_d_gcc.h"
diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mcthwl.c b/src/northbridge/amd/amdmct/mct_ddr3/mcthwl.c index 57f0e96..1ee1060 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mcthwl.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mcthwl.c @@ -15,7 +15,7 @@ */
#include <arch/cpu.h> -#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include "mct_d.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctmtr_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctmtr_d.c index 4836757..4ec42aa 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctmtr_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctmtr_d.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include "mct_d.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c index 3df0323..d918cad 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctndi_d.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include "mct_d.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctprob.c b/src/northbridge/amd/amdmct/mct_ddr3/mctprob.c index a02b15f..044d32f 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctprob.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctprob.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <string.h> #include "mct_d.h" #include "mct_d_gcc.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctproc.c b/src/northbridge/amd/amdmct/mct_ddr3/mctproc.c index eb3143f..2f6926d 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctproc.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctproc.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <string.h> #include "mct_d.h" #include "mct_d_gcc.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctprod.c b/src/northbridge/amd/amdmct/mct_ddr3/mctprod.c index 5a4fd2a..898ec92 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctprod.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctprod.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <string.h> #include "mct_d.h" #include "mct_d_gcc.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctrci.c b/src/northbridge/amd/amdmct/mct_ddr3/mctrci.c index d299f56..4e4d497 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctrci.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctrci.c @@ -15,7 +15,7 @@ */
#include <arch/cpu.h> -#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include "mct_d.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c b/src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c index 3ca1a98..c648092 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c @@ -15,7 +15,7 @@ */
#include <arch/cpu.h> -#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include "mct_d.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c b/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c index a6faf90..fd737f9 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c @@ -20,7 +20,7 @@ ******************************************************************************/
#include <arch/cpu.h> -#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include <cpu/x86/msr.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctsrc1p.c b/src/northbridge/amd/amdmct/mct_ddr3/mctsrc1p.c index eb30c8d..eefc816 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctsrc1p.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctsrc1p.c @@ -15,7 +15,7 @@ */
#include <arch/cpu.h> -#include <inttypes.h> +#include <stdint.h> #include <string.h> #include "mct_d.h" #include "mct_d_gcc.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mcttmrl.c b/src/northbridge/amd/amdmct/mct_ddr3/mcttmrl.c index 6c3db47..69ce6ef 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mcttmrl.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mcttmrl.c @@ -18,7 +18,7 @@ * Description: Max Read Latency Training feature for DDR 3 MCT */
-#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include <cpu/amd/msr.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctwl.c b/src/northbridge/amd/amdmct/mct_ddr3/mctwl.c index a91fb08..f1fb546 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctwl.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctwl.c @@ -15,7 +15,7 @@ */
#include <arch/cpu.h> -#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include "mct_d.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mhwlc_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mhwlc_d.c index b62661b..7c695ca 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mhwlc_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mhwlc_d.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include "mct_d.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/modtrd.c b/src/northbridge/amd/amdmct/mct_ddr3/modtrd.c index 26ea031..37b788b 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/modtrd.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/modtrd.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <string.h> #include "mct_d.h" #include "mct_d_gcc.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c b/src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c index 1c2a135..2148c95 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/modtrdim.c @@ -16,7 +16,7 @@
/* This file contains functions for odt setting on registered DDR3 dimms */
-#include <inttypes.h> +#include <stdint.h> #include <console/console.h> #include <string.h> #include "mct_d.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c index 3c512ed..e2f832a 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c @@ -14,7 +14,7 @@ */
#include <arch/io.h> -#include <inttypes.h> +#include <stdint.h> #include <string.h> #include "mct_d.h" #include "mct_d_gcc.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mutilc_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mutilc_d.c index e4afa70..c997b3e 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mutilc_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mutilc_d.c @@ -17,7 +17,7 @@ /* This file contains functions for common utility functions */
#include <arch/cpu.h> -#include <inttypes.h> +#include <stdint.h> #include <string.h> #include "mct_d.h" #include "mct_d_gcc.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/s3utils.c b/src/northbridge/amd/amdmct/mct_ddr3/s3utils.c index 7267f12..32d271e 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/s3utils.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/s3utils.c @@ -29,7 +29,7 @@ #include <spi-generic.h> #include <spi_flash.h> #include <pc80/mc146818rtc.h> -#include <inttypes.h> +#include <stdint.h> #include "mct_d.h" #include "mct_d_gcc.h"
diff --git a/src/northbridge/amd/amdmct/wrappers/mcti.h b/src/northbridge/amd/amdmct/wrappers/mcti.h index db92fa7..f81a617 100644 --- a/src/northbridge/amd/amdmct/wrappers/mcti.h +++ b/src/northbridge/amd/amdmct/wrappers/mcti.h @@ -18,7 +18,7 @@ #ifndef MCTI_H #define MCTI_H
-#include <inttypes.h> +#include <stdint.h> #include <stdlib.h> #include <pc80/mc146818rtc.h>
diff --git a/src/soc/cavium/cn81xx/include/soc/soc.h b/src/soc/cavium/cn81xx/include/soc/soc.h index a751e64..582cff3 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 4507b0b..a104b83 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> #include <timer.h> #include <delay.h> diff --git a/src/soc/cavium/cn81xx/include/soc/uart.h b/src/soc/cavium/cn81xx/include/soc/uart.h index e402206..baa06e1 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 d6828e9..c86ff80 100644 --- a/src/soc/cavium/cn81xx/timer.c +++ b/src/soc/cavium/cn81xx/timer.c @@ -19,7 +19,7 @@ #include <device/mmio.h> #include <arch/lib_helpers.h> #include <console/console.h> -#include <inttypes.h> +#include <stdint.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 73d050f..761bb6b 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 42c7027..3d6d209 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 51fa10f..d770724 100644 --- a/src/soc/nvidia/tegra124/spi.c +++ b/src/soc/nvidia/tegra124/spi.c @@ -20,7 +20,6 @@ #include <boot_device.h> #include <console/console.h> #include <delay.h> -#include <inttypes.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 03c5e67..75376d9 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 1093479..8ad2787 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>
/* diff --git a/src/soc/nvidia/tegra210/spi.c b/src/soc/nvidia/tegra210/spi.c index 6330779..6d9dba6 100644 --- a/src/soc/nvidia/tegra210/spi.c +++ b/src/soc/nvidia/tegra210/spi.c @@ -20,7 +20,6 @@ #include <boot_device.h> #include <console/console.h> #include <delay.h> -#include <inttypes.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 04efeaf..1d08fcc 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 8513cfa..46c69e6 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>