nb/intel/sandybridge: Add missing includes
Change-Id: I9d54d0923a595734a84256ddcafb9dae17615cb0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43348 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
#define NORTHBRIDGE_INTEL_SANDYBRIDGE_CHIP_H
|
#define NORTHBRIDGE_INTEL_SANDYBRIDGE_CHIP_H
|
||||||
|
|
||||||
#include <drivers/intel/gma/i915.h>
|
#include <drivers/intel/gma/i915.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Digital Port Hotplug Enable:
|
* Digital Port Hotplug Enable:
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
|
#include <cpu/intel/model_206ax/model_206ax.h>
|
||||||
#include "sandybridge.h"
|
#include "sandybridge.h"
|
||||||
|
|
||||||
enum platform_type get_platform_type(void)
|
enum platform_type get_platform_type(void)
|
||||||
|
@@ -3,6 +3,8 @@
|
|||||||
#ifndef NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H
|
#ifndef NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H
|
||||||
#define NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H
|
#define NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
struct i915_gpu_controller_info;
|
struct i915_gpu_controller_info;
|
||||||
|
|
||||||
int i915lightup_sandy(const struct i915_gpu_controller_info *info, u32 physbase, u16 pio,
|
int i915lightup_sandy(const struct i915_gpu_controller_info *info, u32 physbase, u16 pio,
|
||||||
|
@@ -10,6 +10,8 @@
|
|||||||
#include <cpu/x86/smm.h>
|
#include <cpu/x86/smm.h>
|
||||||
#include <program_loading.h>
|
#include <program_loading.h>
|
||||||
#include "sandybridge.h"
|
#include "sandybridge.h"
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
static uintptr_t smm_region_start(void)
|
static uintptr_t smm_region_start(void)
|
||||||
{
|
{
|
||||||
|
@@ -9,6 +9,7 @@
|
|||||||
#include <northbridge/intel/sandybridge/chip.h>
|
#include <northbridge/intel/sandybridge/chip.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
|
#include <types.h>
|
||||||
|
|
||||||
#include "raminit_native.h"
|
#include "raminit_native.h"
|
||||||
#include "raminit_common.h"
|
#include "raminit_common.h"
|
||||||
|
@@ -14,6 +14,8 @@
|
|||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <lib.h>
|
#include <lib.h>
|
||||||
#include <mrc_cache.h>
|
#include <mrc_cache.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <timestamp.h>
|
#include <timestamp.h>
|
||||||
#include "raminit.h"
|
#include "raminit.h"
|
||||||
#include "pei_data.h"
|
#include "pei_data.h"
|
||||||
|
@@ -8,6 +8,9 @@
|
|||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <northbridge/intel/sandybridge/chip.h>
|
#include <northbridge/intel/sandybridge/chip.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "raminit_native.h"
|
#include "raminit_native.h"
|
||||||
#include "raminit_common.h"
|
#include "raminit_common.h"
|
||||||
#include "raminit_tables.h"
|
#include "raminit_tables.h"
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
#include "sandybridge.h"
|
#include "sandybridge.h"
|
||||||
#include <device/dram/ddr3.h>
|
#include <device/dram/ddr3.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
/* The order is: ch0dimmA, ch0dimmB, ch1dimmA, ch1dimmB */
|
/* The order is: ch0dimmA, ch0dimmB, ch1dimmA, ch1dimmB */
|
||||||
void read_spd(spd_raw_data *spd, u8 addr, bool id_only);
|
void read_spd(spd_raw_data *spd, u8 addr, bool id_only);
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include "raminit_tables.h"
|
#include "raminit_tables.h"
|
||||||
|
|
||||||
const u32 frq_refi_map[2][8] = {
|
const u32 frq_refi_map[2][8] = {
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
#ifndef RAMINIT_TABLES_H
|
#ifndef RAMINIT_TABLES_H
|
||||||
#define RAMINIT_TABLES_H
|
#define RAMINIT_TABLES_H
|
||||||
|
|
||||||
#include <types.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
extern const u32 frq_refi_map[2][8];
|
extern const u32 frq_refi_map[2][8];
|
||||||
|
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
/* Everything below this line is ignored in the DSDT */
|
/* Everything below this line is ignored in the DSDT */
|
||||||
#ifndef __ACPI__
|
#ifndef __ACPI__
|
||||||
#include <cpu/intel/model_206ax/model_206ax.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* Chipset types */
|
/* Chipset types */
|
||||||
enum platform_type {
|
enum platform_type {
|
||||||
|
Reference in New Issue
Block a user