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>
This commit is contained in:
Jacob Garber
2019-08-08 13:35:31 -06:00
committed by Martin Roth
parent 6b212d8fcf
commit 5cf9ccc57d
59 changed files with 58 additions and 59 deletions

View File

@@ -17,7 +17,7 @@
#ifndef AMDFAM10_H
#define AMDFAM10_H
#include <inttypes.h>
#include <stdint.h>
#include <device/device.h>
#include "early_ht.h"

View File

@@ -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);

View File

@@ -14,7 +14,7 @@
*/
#include "early_ht.h"
#include <inttypes.h>
#include <stdint.h>
#include <device/pci_ops.h>
#include <device/pci_def.h>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -17,7 +17,7 @@
#define COMLIB_H
#include <assert.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
#include "porting.h"

View File

@@ -17,7 +17,7 @@
#ifndef H3NCMN_H
#define H3NCMN_H
#include <inttypes.h>
#include <stdint.h>
#include <device/pci.h>
#include <cpu/amd/msr.h>

View File

@@ -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);

View File

@@ -22,7 +22,7 @@
#define DQS_TRAIN_DEBUG 0
#include <inttypes.h>
#include <stdint.h>
#include <northbridge/amd/amdfam10/debug.h>
#include <northbridge/amd/amdfam10/raminit.h>

View File

@@ -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);

View File

@@ -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,

View File

@@ -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,

View File

@@ -22,7 +22,7 @@
#define DQS_TRAIN_DEBUG 0
#include <inttypes.h>
#include <stdint.h>
#include <northbridge/amd/amdfam10/raminit.h>
/*===========================================================================

View File

@@ -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)

View File

@@ -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);

View File

@@ -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"

View File

@@ -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>

View File

@@ -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>

View File

@@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
#include <inttypes.h>
#include <stdint.h>
#include <console/console.h>
#include <cpu/x86/cr.h>
#include <string.h>

View File

@@ -15,7 +15,7 @@
*/
#include <arch/cpu.h>
#include <inttypes.h>
#include <stdint.h>
#include <console/console.h>
#include <device/pci_ops.h>

View File

@@ -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"

View File

@@ -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"

View File

@@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
#include <inttypes.h>
#include <stdint.h>
#include <console/console.h>
#include <cpu/amd/mtrr.h>
#include <cpu/x86/mtrr.h>

View File

@@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
#include <inttypes.h>
#include <stdint.h>
#include <console/console.h>
#include "mct_d.h"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -15,7 +15,7 @@
*/
#include <arch/cpu.h>
#include <inttypes.h>
#include <stdint.h>
#include <console/console.h>
#include "mct_d.h"

View File

@@ -15,7 +15,7 @@
*/
#include <arch/cpu.h>
#include <inttypes.h>
#include <stdint.h>
#include <console/console.h>
#include "mct_d.h"

View File

@@ -20,7 +20,7 @@
******************************************************************************/
#include <arch/cpu.h>
#include <inttypes.h>
#include <stdint.h>
#include <console/console.h>
#include <cpu/x86/cr.h>
#include <string.h>

View File

@@ -15,7 +15,7 @@
*/
#include <arch/cpu.h>
#include <inttypes.h>
#include <stdint.h>
#include "mct_d.h"
#include "mct_d_gcc.h"

View File

@@ -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 <cpu/amd/msr.h>
#include <cpu/x86/cr.h>

View File

@@ -15,7 +15,7 @@
*/
#include <arch/cpu.h>
#include <inttypes.h>
#include <stdint.h>
#include <console/console.h>
#include "mct_d.h"

View File

@@ -14,7 +14,7 @@
* GNU General Public License for more details.
*/
#include <inttypes.h>
#include <stdint.h>
#include <console/console.h>
#include <northbridge/amd/amdfam10/amdfam10.h>

View File

@@ -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"

View File

@@ -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 "mct_d.h"

View File

@@ -14,7 +14,7 @@
*/
#include <arch/io.h>
#include <inttypes.h>
#include <stdint.h>
#include "mct_d.h"
#include "mct_d_gcc.h"

View File

@@ -17,7 +17,7 @@
/* This file contains functions for common utility functions */
#include <arch/cpu.h>
#include <inttypes.h>
#include <stdint.h>
#include "mct_d.h"
#include "mct_d_gcc.h"

View File

@@ -29,7 +29,7 @@
#include <spi-generic.h>
#include <spi_flash.h>
#include <pc80/mc146818rtc.h>
#include <inttypes.h>
#include <stdint.h>
#include <types.h>
#include "mct_d.h"

View File

@@ -18,7 +18,7 @@
#ifndef MCTI_H
#define MCTI_H
#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
#include <pc80/mc146818rtc.h>