src/northbridge: Add missing 'include <types.h>'
<types.h> is supposed to provide <stdint.h> and <stddef.h>. When <types.h> is included, <stdint.h> and/or <stddef.h> is removed. Change-Id: Iad5367bed844b866b2ad87639eee29a16d9a99ed Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32808 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
This commit is contained in:
parent
5fd93e0582
commit
51401c3050
|
@ -25,6 +25,7 @@
|
|||
#include <device/pci_ops.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <cpu/amd/model_10xxx_rev.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "amdfam10.h"
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <lib.h>
|
||||
#include <cbmem.h>
|
||||
#include <cpu/amd/model_10xxx_rev.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "amdfam10.h"
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <cpu/amd/amdfam10_sysconf.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <cpu/amd/family_10h-family_15h/ram_calc.h>
|
||||
#include <types.h>
|
||||
|
||||
#if CONFIG(LOGICAL_CPUS)
|
||||
#include <cpu/amd/multicore.h>
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include <device/pci_def.h>
|
||||
#include <northbridge/amd/amdfam10/raminit.h>
|
||||
#include <northbridge/amd/amdfam10/amdfam10.h>
|
||||
#include <types.h>
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
* DEFINITIONS AND MACROS
|
||||
|
|
|
@ -43,7 +43,9 @@
|
|||
#include <device/pci_ops.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
#include <device/dram/ddr3.h>
|
||||
|
||||
#include "s3utils.h"
|
||||
#include "mct_d_gcc.h"
|
||||
#include "mct_d.h"
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
#include <spi_flash.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <inttypes.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "mct_d.h"
|
||||
#include "mct_d_gcc.h"
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include <arch/cpu.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <console/console.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "mcti.h"
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <commonlib/helpers.h>
|
||||
#include <cbmem.h>
|
||||
#include <southbridge/intel/i82801ix/nvs.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "drivers/intel/gma/i915_reg.h"
|
||||
#include "chip.h"
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <southbridge/intel/lynxpoint/nvs.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "haswell.h"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <cf9_reset.h>
|
||||
#include <console/console.h>
|
||||
|
@ -22,9 +21,11 @@
|
|||
#include <device/pci_def.h>
|
||||
#include <cbmem.h>
|
||||
#include <romstage_handoff.h>
|
||||
#include "i945.h"
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <southbridge/intel/common/gpio.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "i945.h"
|
||||
|
||||
int i945_silicon_revision(void)
|
||||
{
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <commonlib/helpers.h>
|
||||
#include <cbmem.h>
|
||||
#include <southbridge/intel/i82801gx/nvs.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "i945.h"
|
||||
#include "chip.h"
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <southbridge/intel/ibexpeak/nvs.h>
|
||||
#include <drivers/intel/gma/opregion.h>
|
||||
#include <cbmem.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "nehalem.h"
|
||||
|
|
|
@ -30,18 +30,18 @@
|
|||
#include <device/device.h>
|
||||
#include <halt.h>
|
||||
#include <spd.h>
|
||||
#include "raminit.h"
|
||||
#include "chip.h"
|
||||
#include <timestamp.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/intel/speedstep.h>
|
||||
#include <cpu/intel/turbo.h>
|
||||
#include <mrc_cache.h>
|
||||
|
||||
#include "nehalem.h"
|
||||
|
||||
#include <southbridge/intel/ibexpeak/me.h>
|
||||
#include <delay.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "nehalem.h"
|
||||
#include "raminit.h"
|
||||
|
||||
#define NORTHBRIDGE PCI_DEV(0, 0, 0)
|
||||
#define SOUTHBRIDGE PCI_DEV(0, 0x1f, 0)
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/io.h>
|
||||
|
@ -24,6 +23,7 @@
|
|||
#include <northbridge/intel/pineview/pineview.h>
|
||||
#include <northbridge/intel/pineview/chip.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <types.h>
|
||||
|
||||
#define LPC PCI_DEV(0, 0x1f, 0)
|
||||
#define D0F0 PCI_DEV(0, 0, 0)
|
||||
|
|
|
@ -23,10 +23,7 @@
|
|||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
#include <drivers/intel/gma/i915_reg.h>
|
||||
#include "chip.h"
|
||||
#include "pineview.h"
|
||||
#include <drivers/intel/gma/intel_bios.h>
|
||||
#include <drivers/intel/gma/i915.h>
|
||||
#include <drivers/intel/gma/opregion.h>
|
||||
|
@ -34,6 +31,10 @@
|
|||
#include <cbmem.h>
|
||||
#include <pc80/vga.h>
|
||||
#include <pc80/vga_io.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "pineview.h"
|
||||
|
||||
#define GTTSIZE (512*1024)
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/io.h>
|
||||
|
@ -22,6 +21,8 @@
|
|||
#include <device/pci_def.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <romstage_handoff.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "sandybridge.h"
|
||||
|
||||
static void sandybridge_setup_bars(void)
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <drivers/intel/gma/opregion.h>
|
||||
#include <southbridge/intel/bd82x6x/pch.h>
|
||||
#include <cbmem.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "sandybridge.h"
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <southbridge/intel/common/smbus.h>
|
||||
#include <southbridge/intel/bd82x6x/pch.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "raminit_native.h"
|
||||
#include "raminit_common.h"
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include <drivers/intel/gma/libgfxinit.h>
|
||||
#include <pc80/vga.h>
|
||||
#include <pc80/vga_io.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "drivers/intel/gma/i915_reg.h"
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <device/dram/ddr3.h>
|
||||
#include <mrc_cache.h>
|
||||
#include <timestamp.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "iomap.h"
|
||||
#include "x4x.h"
|
||||
|
|
Loading…
Reference in New Issue