src/mb: Fix non-local header treated as local
Also remove some unnedded includes. Change-Id: I036208a111d009620d8354fa9c97688eb4e872ad Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/27129 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
eafb31be30
commit
4ad1446b83
|
@ -21,7 +21,7 @@
|
|||
#include <cpu/amd/mtrr.h>
|
||||
#include <southbridge/amd/common/amd_defs.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
/* GPIO6. */
|
||||
static void enable_int_gfx(void)
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
#include "hudson.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "northbridge/amd/pi/dimmSpd.h"
|
||||
#include "northbridge/amd/pi/agesawrapper.h"
|
||||
#include <northbridge/amd/pi/dimmSpd.h>
|
||||
#include <northbridge/amd/pi/agesawrapper.h>
|
||||
#include <boardid.h>
|
||||
|
||||
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINTN FchData, VOID *ConfigPtr);
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <stdint.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include "southbridge/amd/pi/hudson/hudson.h"
|
||||
#include <southbridge/amd/pi/hudson/hudson.h>
|
||||
#include <southbridge/amd/common/amd_pci_util.h>
|
||||
|
||||
static void smp_add_mpc_entry(struct mp_config_table *mc, unsigned length)
|
||||
|
|
|
@ -17,12 +17,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <southbridge/amd/common/amd_defs.h>
|
||||
#include <southbridge/amd/sb800/sb800.h>
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
/* GPIO6. */
|
||||
static void enable_int_gfx(void)
|
||||
|
|
|
@ -17,12 +17,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/sb700/sb700.h"
|
||||
#include "southbridge/amd/sb700/smbus.h"
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/sb700/sb700.h>
|
||||
#include <southbridge/amd/sb700/smbus.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
/*
|
||||
* Mahogany uses GPIO 6 as PCIe slot reset, GPIO4 as GFX slot reset. We need to
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
|
@ -22,7 +21,7 @@
|
|||
#include <stdint.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include "southbridge/amd/agesa/hudson/hudson.h"
|
||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||
|
||||
u8 picr_data[0x54] = {
|
||||
0x03,0x04,0x05,0x07,0x0B,0x0A,0x1F,0x1F,0xFA,0xF1,0x00,0x00,0x1F,0x1F,0x1F,0x1F,
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
|
@ -22,7 +21,7 @@
|
|||
#include <stdint.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include "southbridge/amd/agesa/hudson/hudson.h"
|
||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||
|
||||
u8 picr_data[0x54] = {
|
||||
0x1F,0x1f,0x1f,0x1F,0x1F,0x1F,0x1F,0x1F,0x0A,0xF1,0x00,0x00,0x1F,0x1F,0x1F,0x1F,
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
|
@ -22,7 +21,7 @@
|
|||
#include <stdint.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include "southbridge/amd/agesa/hudson/hudson.h"
|
||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||
|
||||
u8 picr_data[] = {
|
||||
0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x0A,0xF1,0x00,0x00,0x1F,0x1F,0x1F,0x1F,
|
||||
|
|
|
@ -17,12 +17,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <southbridge/amd/sb700/sb700.h>
|
||||
#include "southbridge/amd/sb700/smbus.h"
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/sb700/smbus.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
#define ADT7461_ADDRESS 0x4C
|
||||
#define ARA_ADDRESS 0x0C /* Alert Response Address */
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include "southbridge/intel/i82801gx/nvs.h"
|
||||
#include "southbridge/intel/i82801gx/i82801gx.h"
|
||||
#include <southbridge/intel/i82801gx/nvs.h>
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <delay.h>
|
||||
|
||||
|
|
|
@ -14,20 +14,13 @@
|
|||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <lib.h>
|
||||
#include <timestamp.h>
|
||||
#include <arch/byteorder.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pnp_def.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <console/console.h>
|
||||
#include "northbridge/intel/sandybridge/sandybridge.h"
|
||||
#include "northbridge/intel/sandybridge/raminit_native.h"
|
||||
#include "southbridge/intel/bd82x6x/pch.h"
|
||||
#include <southbridge/intel/common/gpio.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <northbridge/intel/sandybridge/sandybridge.h>
|
||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||
#include <southbridge/intel/bd82x6x/pch.h>
|
||||
#include <cbfs.h>
|
||||
|
||||
void pch_enable_lpc(void)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "northbridge/intel/sandybridge/raminit_native.h"
|
||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||
#include <superio/nuvoton/nct6776/nct6776.h>
|
||||
#include <superio/nuvoton/common/nuvoton.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
|
@ -22,7 +21,7 @@
|
|||
#include <stdint.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include "southbridge/amd/agesa/hudson/hudson.h"
|
||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||
|
||||
|
||||
u8 picr_data[0x54] = {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <device/pci.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include "southbridge/amd/agesa/hudson/hudson.h"
|
||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||
|
||||
|
||||
u8 picr_data[] = {
|
||||
|
|
|
@ -17,12 +17,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/sb700/sb700.h"
|
||||
#include "southbridge/amd/sb700/smbus.h"
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/sb700/sb700.h>
|
||||
#include <southbridge/amd/sb700/smbus.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
void set_pcie_dereset(void)
|
||||
{
|
||||
|
|
|
@ -17,12 +17,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/sb700/sb700.h"
|
||||
#include "southbridge/amd/sb700/smbus.h"
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/sb700/sb700.h>
|
||||
#include <southbridge/amd/sb700/smbus.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
#define ADT7461_ADDRESS 0x4C
|
||||
#define ARA_ADDRESS 0x0C /* Alert Response Address */
|
||||
|
|
|
@ -17,11 +17,9 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <southbridge/amd/common/amd_defs.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
/* GPIO6. */
|
||||
static void enable_int_gfx(void)
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "southbridge/intel/i82371eb/i82371eb.h"
|
||||
#include <southbridge/intel/i82371eb/i82371eb.h>
|
||||
|
||||
#define SUPERIO_PNP_BASE 0x3F0
|
||||
#define SUPERIO_SHOW_UARTA
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "southbridge/intel/i82371eb/i82371eb.h"
|
||||
#include <southbridge/intel/i82371eb/i82371eb.h>
|
||||
|
||||
#define SUPERIO_PNP_BASE 0x3F0
|
||||
#define SUPERIO_SHOW_UARTA
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include <types.h>
|
||||
|
||||
#include "southbridge/intel/i82801gx/nvs.h"
|
||||
#include <southbridge/intel/i82801gx/nvs.h>
|
||||
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
|
|
|
@ -17,11 +17,9 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <southbridge/amd/common/amd_defs.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
/* GPIO6. */
|
||||
static void enable_int_gfx(void)
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
#include "spd.h"
|
||||
#include <reset.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
#include "southbridge/amd/sb800/early_setup.c"
|
||||
#include <southbridge/amd/sb800/early_setup.c>
|
||||
|
||||
#include "resourcemap.c"
|
||||
#include "cpu/amd/quadcore/quadcore.c"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
|
@ -22,7 +21,7 @@
|
|||
#include <stdint.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include "southbridge/amd/agesa/hudson/hudson.h"
|
||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||
|
||||
u8 picr_data[0x54] = {
|
||||
0x03,0x04,0x05,0x07,0x0B,0x0A,0x1F,0x1F,0xFA,0xF1,0x00,0x00,0x1F,0x1F,0x1F,0x1F,
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <stdint.h>
|
||||
#include <lib.h>
|
||||
#include <arch/io.h>
|
||||
#include "northbridge/intel/sandybridge/raminit_native.h"
|
||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||
#include <superio/smsc/sio1007/chip.h>
|
||||
|
||||
#define SIO_PORT 0x164e
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include <types.h>
|
||||
#include <string.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <arch/acpigen.h>
|
||||
|
@ -26,7 +25,7 @@
|
|||
|
||||
#include "../qemu-i440fx/fw_cfg.h"
|
||||
#include "../qemu-i440fx/acpi.h"
|
||||
#include "southbridge/intel/i82801ix/nvs.h"
|
||||
#include <southbridge/intel/i82801ix/nvs.h>
|
||||
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
|
||||
#include "southbridge/intel/i82801gx/nvs.h"
|
||||
#include <southbridge/intel/i82801gx/nvs.h>
|
||||
#include "mainboard.h"
|
||||
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include "southbridge/intel/i82801gx/i82801gx.h"
|
||||
#include "southbridge/intel/i82801gx/nvs.h"
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
#include <southbridge/intel/i82801gx/nvs.h>
|
||||
#include <southbridge/intel/common/gpio.h>
|
||||
#include <ec/acpi/ec.h>
|
||||
#include "ec_oem.c"
|
||||
|
|
|
@ -17,12 +17,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/sb700/sb700.h"
|
||||
#include "southbridge/amd/sb700/smbus.h"
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/sb700/sb700.h>
|
||||
#include <southbridge/amd/sb700/smbus.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
void set_pcie_dereset(void)
|
||||
{
|
||||
|
|
|
@ -17,12 +17,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/sb700/sb700.h"
|
||||
#include "southbridge/amd/sb700/smbus.h"
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/sb700/sb700.h>
|
||||
#include <southbridge/amd/sb700/smbus.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
#define ADT7461_ADDRESS 0x4C
|
||||
#define ARA_ADDRESS 0x0C /* Alert Response Address */
|
||||
|
|
|
@ -18,12 +18,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/sb700/sb700.h"
|
||||
#include "southbridge/amd/sb700/smbus.h"
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/sb700/sb700.h>
|
||||
#include <southbridge/amd/sb700/smbus.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
/*
|
||||
* ma78gm-us2h uses GPIO 6 as PCIe slot reset, GPIO4 as GFX slot reset. We need to
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
|
@ -22,7 +21,7 @@
|
|||
#include <stdint.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include "southbridge/amd/agesa/hudson/hudson.h"
|
||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||
|
||||
|
||||
u8 picr_data[0x54] = {
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
#include <device/pnp_def.h>
|
||||
#include <superio/nuvoton/npcd378/npcd378.h>
|
||||
#include <superio/nuvoton/common/nuvoton.h>
|
||||
#include "northbridge/intel/sandybridge/sandybridge.h"
|
||||
#include "northbridge/intel/sandybridge/raminit_native.h"
|
||||
#include "southbridge/intel/bd82x6x/pch.h"
|
||||
#include <northbridge/intel/sandybridge/sandybridge.h>
|
||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||
#include <southbridge/intel/bd82x6x/pch.h>
|
||||
|
||||
#define SERIAL_DEV PNP_DEV(0x2e, NPCD378_SP2)
|
||||
|
||||
|
|
|
@ -17,12 +17,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/sb700/sb700.h"
|
||||
#include "southbridge/amd/sb700/smbus.h"
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/sb700/sb700.h>
|
||||
#include <southbridge/amd/sb700/smbus.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
/* TODO - Need to find GPIO for PCIE slot.
|
||||
* Kino uses GPIO ? as PCIe slot reset, GPIO? as GFX slot reset. We need to
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <types.h>
|
||||
#include <string.h>
|
||||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <arch/acpigen.h>
|
||||
|
@ -24,8 +23,8 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <southbridge/intel/fsp_bd82x6x/nvs.h>
|
||||
|
||||
#include "southbridge/intel/fsp_bd82x6x/nvs.h"
|
||||
#include "thermal.h"
|
||||
|
||||
static global_nvs_t *gnvs_;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#ifndef MAINBOARD_GPIO_H
|
||||
#define MAINBOARD_GPIO_H
|
||||
|
||||
#include "southbridge/intel/fsp_bd82x6x/gpio.h"
|
||||
#include <southbridge/intel/fsp_bd82x6x/gpio.h>
|
||||
|
||||
const struct pch_gpio_set1 pch_gpio_set1_mode = {
|
||||
.gpio0 = GPIO_MODE_GPIO, /* SINAI */
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <device/pci_def.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <console/console.h>
|
||||
#include "northbridge/intel/sandybridge/raminit_native.h"
|
||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||
|
||||
#include "superio.h"
|
||||
#include "thermal.h"
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "southbridge/intel/i82801gx/nvs.h"
|
||||
#include <southbridge/intel/i82801gx/nvs.h>
|
||||
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <types.h>
|
||||
#include <string.h>
|
||||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <arch/acpigen.h>
|
||||
|
@ -25,8 +24,8 @@
|
|||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <vendorcode/google/chromeos/gnvs.h>
|
||||
#include <southbridge/intel/bd82x6x/nvs.h>
|
||||
|
||||
#include "southbridge/intel/bd82x6x/nvs.h"
|
||||
#include "thermal.h"
|
||||
|
||||
static global_nvs_t *gnvs_;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#ifndef MAINBOARD_GPIO_H
|
||||
#define MAINBOARD_GPIO_H
|
||||
|
||||
#include "southbridge/intel/fsp_i89xx/gpio.h"
|
||||
#include <southbridge/intel/fsp_i89xx/gpio.h>
|
||||
|
||||
const struct pch_gpio_set1 pch_gpio_set1_mode = {
|
||||
|
||||
|
|
|
@ -18,12 +18,10 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "southbridge/amd/sb700/sb700.h"
|
||||
#include "southbridge/amd/sb700/smbus.h"
|
||||
#include "southbridge/amd/rs780/rs780.h"
|
||||
#include <southbridge/amd/sb700/sb700.h>
|
||||
#include <southbridge/amd/sb700/smbus.h>
|
||||
#include <southbridge/amd/rs780/rs780.h>
|
||||
|
||||
/*
|
||||
* the board uses GPIO 6 as PCIe slot reset, GPIO4 as GFX slot reset. We need to
|
||||
|
|
|
@ -17,20 +17,15 @@
|
|||
#include <string.h>
|
||||
#include <cbfs.h>
|
||||
#include <lib.h>
|
||||
#include <timestamp.h>
|
||||
#include <arch/byteorder.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pnp_def.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <console/console.h>
|
||||
#include "northbridge/intel/sandybridge/sandybridge.h"
|
||||
#include "northbridge/intel/sandybridge/raminit_native.h"
|
||||
#include "southbridge/intel/bd82x6x/pch.h"
|
||||
#include <northbridge/intel/sandybridge/sandybridge.h>
|
||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||
#include <southbridge/intel/bd82x6x/pch.h>
|
||||
#include <southbridge/intel/common/gpio.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include "ec.h"
|
||||
|
||||
#define SPD_LEN 256
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/io.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <arch/acpi.h>
|
||||
|
@ -24,8 +23,7 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
|
||||
#include "southbridge/intel/i82801ix/nvs.h"
|
||||
#include <southbridge/intel/i82801ix/nvs.h>
|
||||
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "dock.h"
|
||||
#include <superio/nsc/pc87382/pc87382.h>
|
||||
|
||||
#include "southbridge/intel/i82801ix/i82801ix.h"
|
||||
#include <southbridge/intel/i82801ix/i82801ix.h>
|
||||
#include "ec/lenovo/h8/h8.h"
|
||||
#include <ec/acpi/ec.h>
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <arch/io.h>
|
||||
#include <delay.h>
|
||||
|
@ -22,7 +21,7 @@
|
|||
#include <superio/nsc/pc87384/pc87384.h>
|
||||
#include "ec/acpi/ec.h"
|
||||
#include "ec/lenovo/pmh7/pmh7.h"
|
||||
#include "southbridge/intel/i82801gx/i82801gx.h"
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
|
||||
#define DLPC_CONTROL 0x164c
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include "southbridge/intel/i82801gx/nvs.h"
|
||||
#include "southbridge/intel/i82801gx/i82801gx.h"
|
||||
#include <southbridge/intel/i82801gx/nvs.h>
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
#include <ec/acpi/ec.h>
|
||||
#include "dock.h"
|
||||
#include "smi.h"
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/io.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <arch/acpi.h>
|
||||
|
@ -24,8 +23,8 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <southbridge/intel/i82801ix/nvs.h>
|
||||
|
||||
#include "southbridge/intel/i82801ix/nvs.h"
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
memset((void *)gnvs, 0, sizeof(*gnvs));
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <device/pci.h>
|
||||
#include <delay.h>
|
||||
#include "dock.h"
|
||||
#include "southbridge/intel/i82801ix/i82801ix.h"
|
||||
#include <southbridge/intel/i82801ix/i82801ix.h>
|
||||
#include "ec/lenovo/h8/h8.h"
|
||||
#include <ec/acpi/ec.h>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <device/pci.h>
|
||||
#include <delay.h>
|
||||
#include "dock.h"
|
||||
#include "southbridge/intel/ibexpeak/pch.h"
|
||||
#include <southbridge/intel/ibexpeak/pch.h>
|
||||
#include "ec/lenovo/h8/h8.h"
|
||||
#include <ec/acpi/ec.h>
|
||||
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include "southbridge/intel/ibexpeak/nvs.h"
|
||||
#include "southbridge/intel/ibexpeak/pch.h"
|
||||
#include "southbridge/intel/ibexpeak/me.h"
|
||||
#include <southbridge/intel/ibexpeak/nvs.h>
|
||||
#include <southbridge/intel/ibexpeak/pch.h>
|
||||
#include <southbridge/intel/ibexpeak/me.h>
|
||||
#include <northbridge/intel/nehalem/nehalem.h>
|
||||
#include <cpu/intel/model_2065x/model_2065x.h>
|
||||
#include <ec/acpi/ec.h>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <delay.h>
|
||||
#include <arch/io.h>
|
||||
#include "dock.h"
|
||||
#include "southbridge/intel/i82801gx/i82801gx.h"
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
#include <superio/nsc/pc87392/pc87392.h>
|
||||
|
||||
static void dlpc_write_register(int reg, int value)
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include "southbridge/intel/i82801gx/nvs.h"
|
||||
#include "southbridge/intel/i82801gx/i82801gx.h"
|
||||
#include <southbridge/intel/i82801gx/nvs.h>
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
#include <ec/acpi/ec.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <ec/lenovo/h8/h8.h>
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <arch/io.h>
|
||||
#include <delay.h>
|
||||
|
@ -22,7 +21,7 @@
|
|||
#include <superio/nsc/pc87384/pc87384.h>
|
||||
#include "ec/acpi/ec.h"
|
||||
#include "ec/lenovo/pmh7/pmh7.h"
|
||||
#include "southbridge/intel/i82801gx/i82801gx.h"
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
|
||||
#define DLPC_CONTROL 0x164c
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include "southbridge/intel/i82801gx/nvs.h"
|
||||
#include "southbridge/intel/i82801gx/i82801gx.h"
|
||||
#include <southbridge/intel/i82801gx/nvs.h>
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
#include <ec/acpi/ec.h>
|
||||
#include "dock.h"
|
||||
#include "smi.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <device/pci.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include "southbridge/amd/agesa/hudson/hudson.h"
|
||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||
|
||||
|
||||
u8 picr_data[] = {
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
#include <arch/io.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include "southbridge/intel/ibexpeak/nvs.h"
|
||||
#include "southbridge/intel/ibexpeak/pch.h"
|
||||
#include "southbridge/intel/ibexpeak/me.h"
|
||||
#include <southbridge/intel/ibexpeak/nvs.h>
|
||||
#include <southbridge/intel/ibexpeak/pch.h>
|
||||
#include <southbridge/intel/ibexpeak/me.h>
|
||||
#include <northbridge/intel/nehalem/nehalem.h>
|
||||
#include <cpu/intel/model_2065x/model_2065x.h>
|
||||
#include <ec/acpi/ec.h>
|
||||
|
|
|
@ -14,9 +14,8 @@
|
|||
*/
|
||||
|
||||
#include <arch/pirq_routing.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/io.h>
|
||||
#include "southbridge/amd/cs5536/cs5536.h"
|
||||
#include <southbridge/amd/cs5536/cs5536.h>
|
||||
|
||||
/* Platform IRQs */
|
||||
#define PIRQA 11
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/io.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <arch/acpi.h>
|
||||
|
@ -24,8 +23,8 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <southbridge/intel/i82801ix/nvs.h>
|
||||
|
||||
#include "southbridge/intel/i82801ix/nvs.h"
|
||||
void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||
{
|
||||
memset((void *)gnvs, 0, sizeof(*gnvs));
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <types.h>
|
||||
#include <string.h>
|
||||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <arch/acpigen.h>
|
||||
|
@ -28,8 +27,8 @@
|
|||
#if IS_ENABLED(CONFIG_CHROMEOS)
|
||||
#include <vendorcode/google/chromeos/gnvs.h>
|
||||
#endif
|
||||
#include <southbridge/intel/bd82x6x/nvs.h>
|
||||
|
||||
#include "southbridge/intel/bd82x6x/nvs.h"
|
||||
#include "thermal.h"
|
||||
|
||||
static global_nvs_t *gnvs_;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <types.h>
|
||||
#include <string.h>
|
||||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <arch/acpigen.h>
|
||||
|
@ -25,8 +24,8 @@
|
|||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <vendorcode/google/chromeos/gnvs.h>
|
||||
#include <southbridge/intel/bd82x6x/nvs.h>
|
||||
|
||||
#include "southbridge/intel/bd82x6x/nvs.h"
|
||||
#include "thermal.h"
|
||||
|
||||
static global_nvs_t *gnvs_;
|
||||
|
|
|
@ -17,21 +17,14 @@
|
|||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <lib.h>
|
||||
#include <timestamp.h>
|
||||
#include <arch/byteorder.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pnp_def.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <console/console.h>
|
||||
#include "northbridge/intel/sandybridge/sandybridge.h"
|
||||
#include "northbridge/intel/sandybridge/raminit_native.h"
|
||||
#include "southbridge/intel/bd82x6x/pch.h"
|
||||
#include <southbridge/intel/common/gpio.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <delay.h>
|
||||
#include <northbridge/intel/sandybridge/sandybridge.h>
|
||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||
#include <southbridge/intel/bd82x6x/pch.h>
|
||||
|
||||
|
||||
void pch_enable_lpc(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue