mb: Fix non-local header treated as local
Change-Id: Ib39305effdb00e032ca07e6d0e0d84cdf3dcf916 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29098 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
39db144743
commit
2c5652d72b
|
@ -15,9 +15,8 @@
|
|||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
|
||||
#include <southbridge/amd/sb800/sb800.h>
|
||||
#include "SBPLATFORM.h" /* Platform Specific Definitions */
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h> /* Platform Specific Definitions */
|
||||
|
||||
static void init_gpios(void)
|
||||
{
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
|
@ -21,7 +20,7 @@
|
|||
#include <arch/ioapic.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
|
||||
u8 intr_data[] = {
|
||||
[0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* INTA# - INTH# */
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <cpu/x86/lapic.h>
|
||||
#include <southbridge/amd/common/amd_defs.h>
|
||||
#include <southbridge/amd/pi/hudson/hudson.h>
|
||||
#include "superio/fintek/f81216h/f81216h.h"
|
||||
#include <superio/fintek/f81216h/f81216h.h>
|
||||
|
||||
#define SERIAL_DEV PNP_DEV(0x4e, F81216H_SP1)
|
||||
|
||||
|
|
|
@ -17,10 +17,9 @@
|
|||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
#include <southbridge/amd/common/amd_pci_util.h>
|
||||
#include <southbridge/amd/cimx/cimx_util.h>
|
||||
#include "SBPLATFORM.h"
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/sb800/pci_devs.h>
|
||||
#include <northbridge/amd/agesa/family14/pci_devs.h>
|
||||
|
||||
|
|
|
@ -14,14 +14,13 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
#include <southbridge/amd/common/amd_pci_util.h>
|
||||
#include <drivers/generic/ioapic/chip.h>
|
||||
#include <arch/ioapic.h>
|
||||
|
|
|
@ -16,9 +16,8 @@
|
|||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
|
||||
#include <southbridge/amd/sb800/sb800.h>
|
||||
#include "SBPLATFORM.h" /* Platform Specific Definitions */
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h> /* Platform Specific Definitions */
|
||||
|
||||
/**
|
||||
* Southstation using SB GPIO 17/18 to control the Red/Green LED
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
|
@ -21,8 +20,7 @@
|
|||
#include <arch/ioapic.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <SBPLATFORM.h>
|
||||
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
|
||||
u8 intr_data[] = {
|
||||
[0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* INTA# - INTH# */
|
||||
|
|
|
@ -18,13 +18,12 @@
|
|||
* ACPI - create the Fixed ACPI Description Tables (FADT)
|
||||
*/
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include "SbPlatform.h"
|
||||
#include <southbridge/amd/cimx/sb900/SbPlatform.h>
|
||||
|
||||
/*extern*/ u16 pm_base = 0x800;
|
||||
/* pm_base should be set in sb ACPI */
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "SbPlatform.h"
|
||||
#include <southbridge/amd/cimx/sb900/SbPlatform.h>
|
||||
#include "gpio.h"
|
||||
#include "vendorcode/amd/cimx/sb900/AmdSbLib.h"
|
||||
#include <vendorcode/amd/cimx/sb900/AmdSbLib.h>
|
||||
|
||||
|
||||
#ifndef SB_GPIO_REG01
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
|
@ -22,7 +21,7 @@
|
|||
#include <stdint.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include "SbPlatform.h"
|
||||
#include <southbridge/amd/cimx/sb900/SbPlatform.h>
|
||||
|
||||
#define IO_APIC_ID CONFIG_MAX_CPUS
|
||||
u32 apicid_sb900;
|
||||
|
|
|
@ -15,9 +15,8 @@
|
|||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
|
||||
#include <southbridge/amd/sb800/sb800.h>
|
||||
#include "SBPLATFORM.h" /* Platform Specific Definitions */
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h> /* Platform Specific Definitions */
|
||||
|
||||
/**********************************************
|
||||
* Enable the dedicated functions of the board.
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
|
@ -21,8 +20,7 @@
|
|||
#include <arch/ioapic.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <SBPLATFORM.h>
|
||||
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
|
||||
u8 intr_data[] = {
|
||||
[0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* INTA# - INTH# */
|
||||
|
|
|
@ -16,9 +16,8 @@
|
|||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
#include <southbridge/amd/cimx/cimx_util.h>
|
||||
#include "SBPLATFORM.h"
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
|
||||
/**********************************************
|
||||
* Enable the dedicated functions of the board.
|
||||
|
|
|
@ -557,7 +557,7 @@ DefinitionBlock (
|
|||
})
|
||||
}
|
||||
|
||||
#include "../../../superio/winbond/w83667hg-a/ps2_controller.asl"
|
||||
#include <superio/winbond/w83667hg-a/ps2_controller.asl>
|
||||
|
||||
/* UART 1 */
|
||||
Device (URT1)
|
||||
|
|
|
@ -557,7 +557,7 @@ DefinitionBlock (
|
|||
})
|
||||
}
|
||||
|
||||
#include "../../../superio/winbond/w83667hg-a/ps2_controller.asl"
|
||||
#include <superio/winbond/w83667hg-a/ps2_controller.asl>
|
||||
|
||||
/* UART 1 */
|
||||
Device (URT1)
|
||||
|
|
|
@ -248,7 +248,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "CORE ", "COREBOOT", 1)
|
|||
}
|
||||
}
|
||||
|
||||
#include "superio/winbond/w83977tf/acpi/superio.asl"
|
||||
#include <superio/winbond/w83977tf/acpi/superio.asl>
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -234,7 +234,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "CORE ", "COREBOOT", 1)
|
|||
}
|
||||
}
|
||||
|
||||
#include "superio/winbond/w83977tf/acpi/superio.asl"
|
||||
#include <superio/winbond/w83977tf/acpi/superio.asl>
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <arch/io.h>
|
||||
#include <southbridge/amd/common/amd_pci_util.h>
|
||||
#include <southbridge/amd/cimx/cimx_util.h>
|
||||
#include "SBPLATFORM.h"
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/sb800/pci_devs.h>
|
||||
#include <northbridge/amd/agesa/family14/pci_devs.h>
|
||||
|
||||
|
|
|
@ -14,14 +14,13 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
#include <southbridge/amd/common/amd_pci_util.h>
|
||||
#include <drivers/generic/ioapic/chip.h>
|
||||
#include <arch/ioapic.h>
|
||||
|
|
|
@ -20,9 +20,8 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
#include <southbridge/amd/sb800/sb800.h>
|
||||
#include "SBPLATFORM.h"
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
|
||||
/**********************************************
|
||||
* Enable the dedicated functions of the board.
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
|
@ -22,8 +21,7 @@
|
|||
#include <arch/ioapic.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <SBPLATFORM.h>
|
||||
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
|
||||
u8 intr_data[] = {
|
||||
[0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* INTA# - INTH# */
|
||||
|
|
|
@ -28,4 +28,4 @@
|
|||
#define SIO_GPIO_IO0 0x720 // pnp 2e.7: io 0x60
|
||||
#define SIO_GPIO_IO1 0x730 // pnp 2e.7: io 0x60
|
||||
|
||||
#include "superio/ite/it8772f/acpi/superio.asl"
|
||||
#include <superio/ite/it8772f/acpi/superio.asl>
|
||||
|
|
|
@ -28,4 +28,4 @@
|
|||
#define SIO_GPIO_IO0 0x720 // pnp 2e.7: io 0x60
|
||||
#define SIO_GPIO_IO1 0x730 // pnp 2e.7: io 0x60
|
||||
|
||||
#include "superio/ite/it8772f/acpi/superio.asl"
|
||||
#include <superio/ite/it8772f/acpi/superio.asl>
|
||||
|
|
|
@ -28,4 +28,4 @@
|
|||
#define SIO_GPIO_IO0 0x720 // pnp 2e.7: io 0x60
|
||||
#define SIO_GPIO_IO1 0x730 // pnp 2e.7: io 0x60
|
||||
|
||||
#include "superio/smsc/sio1007/acpi/superio.asl"
|
||||
#include <superio/smsc/sio1007/acpi/superio.asl>
|
||||
|
|
|
@ -36,7 +36,7 @@ DefinitionBlock(
|
|||
|
||||
#include "acpi/thermal.asl"
|
||||
|
||||
#include "../../../cpu/intel/haswell/acpi/cpu.asl"
|
||||
#include <cpu/intel/haswell/acpi/cpu.asl>
|
||||
|
||||
Scope (\_SB) {
|
||||
Device (PCI0)
|
||||
|
|
|
@ -28,4 +28,4 @@
|
|||
#define SIO_GPIO_IO0 0x720 // pnp 2e.7: io 0x60
|
||||
#define SIO_GPIO_IO1 0x730 // pnp 2e.7: io 0x60
|
||||
|
||||
#include "superio/smsc/sio1007/acpi/superio.asl"
|
||||
#include <superio/smsc/sio1007/acpi/superio.asl>
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
#define NCT6776_SHOW_HWM 1
|
||||
#define NCT6776_SHOW_GPIO 1
|
||||
|
||||
#include "superio/nuvoton/nct6776/acpi/superio.asl"
|
||||
#include <superio/nuvoton/nct6776/acpi/superio.asl>
|
||||
|
|
|
@ -28,4 +28,4 @@
|
|||
#define SIO_GPIO_IO0 0x720 // pnp 2e.7: io 0x60
|
||||
#define SIO_GPIO_IO1 0x730 // pnp 2e.7: io 0x60
|
||||
|
||||
#include "superio/smsc/sio1007/acpi/superio.asl"
|
||||
#include <superio/smsc/sio1007/acpi/superio.asl>
|
||||
|
|
|
@ -37,7 +37,7 @@ DefinitionBlock(
|
|||
// General Purpose Events
|
||||
//#include "acpi/gpe.asl"
|
||||
|
||||
#include "../../../cpu/intel/model_206ax/acpi/cpu.asl"
|
||||
#include <cpu/intel/model_206ax/acpi/cpu.asl>
|
||||
|
||||
Scope (\_SB) {
|
||||
Device (PCI0)
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include <device/pci_def.h>
|
||||
#include <southbridge/amd/sb800/sb800.h>
|
||||
#include <arch/acpi.h>
|
||||
#include "SBPLATFORM.h"
|
||||
#include "OEM.h" /* SMBUS0_BASE_ADDRESS */
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
#include <vendorcode/amd/cimx/sb800/OEM.h> /* SMBUS0_BASE_ADDRESS */
|
||||
#include <southbridge/amd/cimx/sb800/gpio_oem.h>
|
||||
#include "sema.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>
|
||||
|
@ -21,7 +20,7 @@
|
|||
#include <arch/ioapic.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
|
||||
u8 intr_data[] = {
|
||||
[0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* INTA# - INTH# */
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include <device/pci_def.h>
|
||||
#include <southbridge/amd/sb800/sb800.h>
|
||||
#include <arch/acpi.h>
|
||||
#include "SBPLATFORM.h"
|
||||
#include "OEM.h" /* SMBUS0_BASE_ADDRESS */
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
#include <vendorcode/amd/cimx/sb800/OEM.h> /* SMBUS0_BASE_ADDRESS */
|
||||
#include <southbridge/amd/cimx/sb800/gpio_oem.h>
|
||||
#include "mainboard/lippert/frontrunner-af/sema.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>
|
||||
|
@ -21,7 +20,7 @@
|
|||
#include <arch/ioapic.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
|
||||
u8 intr_data[] = {
|
||||
[0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* INTA# - INTH# */
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <arch/io.h>
|
||||
#include "SBPLATFORM.h"
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/cimx_util.h>
|
||||
#include "gpio_ftns.h"
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <arch/acpi.h>
|
||||
#include <smbios.h>
|
||||
#include <string.h>
|
||||
#include "SBPLATFORM.h"
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/sb800/pci_devs.h>
|
||||
#include <northbridge/amd/agesa/family14/pci_devs.h>
|
||||
#include <superio/nuvoton/nct5104d/nct5104d.h>
|
||||
|
|
|
@ -14,14 +14,13 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
|
||||
#include <console/console.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <device/pci.h>
|
||||
#include <arch/io.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <SBPLATFORM.h>
|
||||
#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
|
||||
#include <southbridge/amd/common/amd_pci_util.h>
|
||||
#include <drivers/generic/ioapic/chip.h>
|
||||
#include <arch/ioapic.h>
|
||||
|
|
|
@ -31,4 +31,4 @@
|
|||
#define SIO_ENABLE_SMBX // pnp 2e.9: Enable Mailbox
|
||||
#define SIO_SMBX_IO0 0xa00 // pnp 2e.9: io 0xa00
|
||||
|
||||
#include "superio/smsc/mec1308/acpi/superio.asl"
|
||||
#include <superio/smsc/mec1308/acpi/superio.asl>
|
||||
|
|
|
@ -28,4 +28,4 @@
|
|||
#define SIO_GPIO_IO0 0x720 // pnp 2e.7: io 0x60
|
||||
#define SIO_GPIO_IO1 0x730 // pnp 2e.7: io 0x60
|
||||
|
||||
#include "superio/ite/it8772f/acpi/superio.asl"
|
||||
#include <superio/ite/it8772f/acpi/superio.asl>
|
||||
|
|
Loading…
Reference in New Issue