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:
committed by
Martin Roth
parent
6b212d8fcf
commit
5cf9ccc57d
@@ -17,7 +17,7 @@
|
||||
#ifndef AMDFAM10_H
|
||||
#define AMDFAM10_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <device/device.h>
|
||||
#include "early_ht.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);
|
||||
|
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
#include "early_ht.h"
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/pci_def.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>
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#define COMLIB_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include "porting.h"
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
#define DQS_TRAIN_DEBUG 0
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <northbridge/amd/amdfam10/raminit.h>
|
||||
|
||||
/*===========================================================================
|
||||
|
@@ -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)
|
||||
|
@@ -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);
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <console/console.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -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>
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <console/console.h>
|
||||
|
||||
#include "mct_d.h"
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <console/console.h>
|
||||
|
||||
#include "mct_d.h"
|
||||
|
@@ -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>
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "mct_d.h"
|
||||
#include "mct_d_gcc.h"
|
||||
|
@@ -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>
|
||||
|
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <console/console.h>
|
||||
|
||||
#include "mct_d.h"
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "mct_d.h"
|
||||
#include "mct_d_gcc.h"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -18,7 +18,7 @@
|
||||
#ifndef MCTI_H
|
||||
#define MCTI_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
|
||||
|
Reference in New Issue
Block a user