buildsystem: Promote rules.h to default include
Does not fix 3rdparty/, *.S or *.ld or yet. Change-Id: I66b48013dd89540b35ab219d2b64bc13f5f19cda Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/17656 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
f86baf3e90
commit
5c29daa150
|
@ -383,6 +383,7 @@ CPPFLAGS_common += -Isrc/device/oprom/include
|
||||||
VBOOT_SOURCE ?= 3rdparty/vboot
|
VBOOT_SOURCE ?= 3rdparty/vboot
|
||||||
CPPFLAGS_common += -I$(VBOOT_SOURCE)/firmware/include
|
CPPFLAGS_common += -I$(VBOOT_SOURCE)/firmware/include
|
||||||
CPPFLAGS_common += -include $(src)/include/kconfig.h
|
CPPFLAGS_common += -include $(src)/include/kconfig.h
|
||||||
|
CPPFLAGS_common += -include $(src)/include/rules.h
|
||||||
CPPFLAGS_common += -include $(src)/commonlib/include/commonlib/compiler.h
|
CPPFLAGS_common += -include $(src)/commonlib/include/commonlib/compiler.h
|
||||||
CPPFLAGS_common += -I3rdparty
|
CPPFLAGS_common += -I3rdparty
|
||||||
CPPFLAGS_common += -D__BUILD_DIR__=\"$(obj)\"
|
CPPFLAGS_common += -D__BUILD_DIR__=\"$(obj)\"
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <arch/transition.h>
|
#include <arch/transition.h>
|
||||||
#include <arm_tf.h>
|
#include <arm_tf.h>
|
||||||
#include <program_loading.h>
|
#include <program_loading.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
static void run_payload(struct prog *prog)
|
static void run_payload(struct prog *prog)
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#include <vm.h>
|
#include <vm.h>
|
||||||
#include <arch/boot.h>
|
#include <arch/boot.h>
|
||||||
#include <arch/encoding.h>
|
#include <arch/encoding.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <arch/smp/smp.h>
|
#include <arch/smp/smp.h>
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#include <arch/encoding.h>
|
#include <arch/encoding.h>
|
||||||
#include <arch/stages.h>
|
#include <arch/stages.h>
|
||||||
#include <arch/smp/smp.h>
|
#include <arch/smp/smp.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
void stage_entry(void)
|
void stage_entry(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#include <timestamp.h>
|
#include <timestamp.h>
|
||||||
#include <program_loading.h>
|
#include <program_loading.h>
|
||||||
#include <romstage_handoff.h>
|
#include <romstage_handoff.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <symbols.h>
|
#include <symbols.h>
|
||||||
|
|
||||||
#if ENV_RAMSTAGE || ENV_POSTCAR
|
#if ENV_RAMSTAGE || ENV_POSTCAR
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <console/streams.h>
|
#include <console/streams.h>
|
||||||
#include <cpu/x86/cr.h>
|
#include <cpu/x86/cr.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,6 @@
|
||||||
|
|
||||||
#if !defined(__ASSEMBLER__) && !defined(__ACPI__) && !defined(__ROMCC__)
|
#if !defined(__ASSEMBLER__) && !defined(__ACPI__) && !defined(__ROMCC__)
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <commonlib/helpers.h>
|
#include <commonlib/helpers.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <uuid.h>
|
#include <uuid.h>
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* EFLAGS bits
|
* EFLAGS bits
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
#include <arch/symbols.h>
|
#include <arch/symbols.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#if ENV_CACHE_AS_RAM && !IS_ENABLED(CONFIG_NO_CAR_GLOBAL_MIGRATION)
|
#if ENV_CACHE_AS_RAM && !IS_ENABLED(CONFIG_NO_CAR_GLOBAL_MIGRATION)
|
||||||
asm(".section .car.global_data,\"w\",@nobits");
|
asm(".section .car.global_data,\"w\",@nobits");
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#define _ARCH_EXCEPTION_H
|
#define _ARCH_EXCEPTION_H
|
||||||
|
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_IDT_IN_EVERY_STAGE) || ENV_RAMSTAGE
|
#if IS_ENABLED(CONFIG_IDT_IN_EVERY_STAGE) || ENV_RAMSTAGE
|
||||||
asmlinkage void exception_init(void);
|
asmlinkage void exception_init(void);
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <device/pci_type.h>
|
#include <device/pci_type.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#ifndef __ARCH_MEMLAYOUT_H
|
#ifndef __ARCH_MEMLAYOUT_H
|
||||||
#define __ARCH_MEMLAYOUT_H
|
#define __ARCH_MEMLAYOUT_H
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#if ENV_BOOTBLOCK || ENV_ROMSTAGE || ENV_VERSTAGE
|
#if ENV_BOOTBLOCK || ENV_ROMSTAGE || ENV_VERSTAGE
|
||||||
/* No .data or .bss sections. Cache as RAM is handled separately. */
|
/* No .data or .bss sections. Cache as RAM is handled separately. */
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <random.h>
|
#include <random.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Intel recommends that applications attempt 10 retries in a tight loop
|
* Intel recommends that applications attempt 10 retries in a tight loop
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#if ENV_RAMSTAGE
|
#if ENV_RAMSTAGE
|
||||||
#define __SIMPLE_DEVICE__ 1
|
#define __SIMPLE_DEVICE__ 1
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#include <console/usb.h>
|
#include <console/usb.h>
|
||||||
#include <console/spi.h>
|
#include <console/spi.h>
|
||||||
#include <console/flash.h>
|
#include <console/flash.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
void console_hw_init(void)
|
void console_hw_init(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <console/streams.h>
|
#include <console/streams.h>
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <option.h>
|
#include <option.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <version.h>
|
#include <version.h>
|
||||||
|
|
||||||
/* Mutable console log level only allowed when RAM comes online. */
|
/* Mutable console log level only allowed when RAM comes online. */
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <pc80/mc146818rtc.h>
|
#include <pc80/mc146818rtc.h>
|
||||||
#include <smp/spinlock.h>
|
#include <smp/spinlock.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
/* Write POST information */
|
/* Write POST information */
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
#include <cpu/intel/microcode.h>
|
#include <cpu/intel/microcode.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#if !defined(__PRE_RAM__)
|
#if !defined(__PRE_RAM__)
|
||||||
#include <smp/spinlock.h>
|
#include <smp/spinlock.h>
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
#include <arch/rom_segs.h>
|
#include <arch/rom_segs.h>
|
||||||
#include <cpu/x86/post_code.h>
|
#include <cpu/x86/post_code.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <arch/x86/gdt_init.S>
|
#include <arch/x86/gdt_init.S>
|
||||||
|
|
||||||
.code32
|
.code32
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <cpu/x86/cr.h>
|
#include <cpu/x86/cr.h>
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
#include <cpu/x86/pae.h>
|
#include <cpu/x86/pae.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <symbols.h>
|
#include <symbols.h>
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
* performs the final stage of initialization.
|
* performs the final stage of initialization.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#define LHLT_DELAY 0x50000 /* I/O delay between post codes on failure */
|
#define LHLT_DELAY 0x50000 /* I/O delay between post codes on failure */
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#ifndef FSP1_1_UTIL_H
|
#ifndef FSP1_1_UTIL_H
|
||||||
#define FSP1_1_UTIL_H
|
#define FSP1_1_UTIL_H
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <fsp/api.h>
|
#include <fsp/api.h>
|
||||||
/* Current users expect to get the SoC's FSP definitions by including util.h. */
|
/* Current users expect to get the SoC's FSP definitions by including util.h. */
|
||||||
#include <fsp/soc_binding.h>
|
#include <fsp/soc_binding.h>
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
#ifndef _FSP2_0_INFO_HEADER_H_
|
#ifndef _FSP2_0_INFO_HEADER_H_
|
||||||
#define _FSP2_0_INFO_HEADER_H_
|
#define _FSP2_0_INFO_HEADER_H_
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
|
|
|
@ -34,7 +34,6 @@ SMC8416 PIO support added by Andrew Bettison (andrewb@zip.com.au) on 4/3/02
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ip_checksum.h>
|
#include <ip_checksum.h>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
#include <boot_device.h>
|
#include <boot_device.h>
|
||||||
#include <cpu/x86/smm.h>
|
#include <cpu/x86/smm.h>
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <spi-generic.h>
|
#include <spi-generic.h>
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include <boot/coreboot_tables.h>
|
#include <boot/coreboot_tables.h>
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <console/uart.h>
|
#include <console/uart.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "uart8250reg.h"
|
#include "uart8250reg.h"
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
#ifndef BOOTSTATE_H
|
#ifndef BOOTSTATE_H
|
||||||
#define BOOTSTATE_H
|
#define BOOTSTATE_H
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#define _CBMEM_H_
|
#define _CBMEM_H_
|
||||||
|
|
||||||
#include <commonlib/cbmem_id.h>
|
#include <commonlib/cbmem_id.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <boot/coreboot_tables.h>
|
#include <boot/coreboot_tables.h>
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
#ifndef _CONSOLE_CBMEM_CONSOLE_H_
|
#ifndef _CONSOLE_CBMEM_CONSOLE_H_
|
||||||
#define _CONSOLE_CBMEM_CONSOLE_H_
|
#define _CONSOLE_CBMEM_CONSOLE_H_
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void cbmemc_init(void);
|
void cbmemc_init(void);
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#define CONSOLE_CONSOLE_H_
|
#define CONSOLE_CONSOLE_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <console/post_codes.h>
|
#include <console/post_codes.h>
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#ifndef CONSOLE_FLASH_H
|
#ifndef CONSOLE_FLASH_H
|
||||||
#define CONSOLE_FLASH_H 1
|
#define CONSOLE_FLASH_H 1
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void flashconsole_init(void);
|
void flashconsole_init(void);
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#ifndef _NE2K_H__
|
#ifndef _NE2K_H__
|
||||||
#define _NE2K_H__
|
#define _NE2K_H__
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void ne2k_append_data(unsigned char *d, int len, unsigned int base);
|
void ne2k_append_data(unsigned char *d, int len, unsigned int base);
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#ifndef _QEMU_DEBUGCON_H_
|
#ifndef _QEMU_DEBUGCON_H_
|
||||||
#define _QEMU_DEBUGCON_H_
|
#define _QEMU_DEBUGCON_H_
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void qemu_debugcon_init(void);
|
void qemu_debugcon_init(void);
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#ifndef CONSOLE_SPI_H
|
#ifndef CONSOLE_SPI_H
|
||||||
#define CONSOLE_SPI_H 1
|
#define CONSOLE_SPI_H 1
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void spiconsole_init(void);
|
void spiconsole_init(void);
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#ifndef SPKMODEM_H
|
#ifndef SPKMODEM_H
|
||||||
#define SPKMODEM_H 1
|
#define SPKMODEM_H 1
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void spkmodem_init(void);
|
void spkmodem_init(void);
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#ifndef CONSOLE_UART_H
|
#ifndef CONSOLE_UART_H
|
||||||
#define CONSOLE_UART_H
|
#define CONSOLE_UART_H
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* Return the clock frequency UART uses as reference clock for
|
/* Return the clock frequency UART uses as reference clock for
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#ifndef _CONSOLE_USB_H_
|
#ifndef _CONSOLE_USB_H_
|
||||||
#define _CONSOLE_USB_H_
|
#define _CONSOLE_USB_H_
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void usbdebug_init(void);
|
void usbdebug_init(void);
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <device/resource.h>
|
#include <device/resource.h>
|
||||||
#include <device/path.h>
|
#include <device/path.h>
|
||||||
#include <device/pci_type.h>
|
#include <device/pci_type.h>
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/resource.h>
|
#include <device/resource.h>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
#define DEVICE_PNP_H
|
#define DEVICE_PNP_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#ifndef __MEMLAYOUT_H
|
#ifndef __MEMLAYOUT_H
|
||||||
#define __MEMLAYOUT_H
|
#define __MEMLAYOUT_H
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <arch/memlayout.h>
|
#include <arch/memlayout.h>
|
||||||
|
|
||||||
/* Macros that the architecture can override. */
|
/* Macros that the architecture can override. */
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
#define STDDEF_H
|
#define STDDEF_H
|
||||||
|
|
||||||
#include <commonlib/helpers.h>
|
#include <commonlib/helpers.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
typedef long ptrdiff_t;
|
typedef long ptrdiff_t;
|
||||||
#ifndef __SIZE_TYPE__
|
#ifndef __SIZE_TYPE__
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <bootmode.h>
|
#include <bootmode.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <bootstate.h>
|
#include <bootstate.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <symbols.h>
|
#include <symbols.h>
|
||||||
|
|
||||||
void cbmem_run_init_hooks(int is_recovery)
|
void cbmem_run_init_hooks(int is_recovery)
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <imd.h>
|
#include <imd.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stage_cache.h>
|
#include <stage_cache.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <imd.h>
|
#include <imd.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <arch/early_variables.h>
|
#include <arch/early_variables.h>
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
#include <reset.h>
|
#include <reset.h>
|
||||||
#include <romstage_handoff.h>
|
#include <romstage_handoff.h>
|
||||||
#include <rmodule.h>
|
#include <rmodule.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stage_cache.h>
|
#include <stage_cache.h>
|
||||||
#include <symbols.h>
|
#include <symbols.h>
|
||||||
#include <timestamp.h>
|
#include <timestamp.h>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <romstage_handoff.h>
|
#include <romstage_handoff.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
struct romstage_handoff {
|
struct romstage_handoff {
|
||||||
/* Indicate if the current boot is an S3 resume. If
|
/* Indicate if the current boot is an S3 resume. If
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <timestamp.h>
|
#include <timestamp.h>
|
||||||
#include <arch/early_variables.h>
|
#include <arch/early_variables.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <smp/node.h>
|
#include <smp/node.h>
|
||||||
|
|
||||||
#define MAX_TIMESTAMPS 192
|
#define MAX_TIMESTAMPS 192
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <ec/google/chromeec/ec.h>
|
#include <ec/google/chromeec/ec.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
#include <variant/ec.h>
|
#include <variant/ec.h>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <ec/ec.h>
|
#include <ec/ec.h>
|
||||||
#include <ec/google/chromeec/ec.h>
|
#include <ec/google/chromeec/ec.h>
|
||||||
#include <intelblocks/lpc_lib.h>
|
#include <intelblocks/lpc_lib.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <variant/ec.h>
|
#include <variant/ec.h>
|
||||||
|
|
||||||
static void ramstage_ec_init(void)
|
static void ramstage_ec_init(void)
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include <ec/ec.h>
|
#include <ec/ec.h>
|
||||||
#include <ec/google/chromeec/ec.h>
|
#include <ec/google/chromeec/ec.h>
|
||||||
#include <intelblocks/lpc_lib.h>
|
#include <intelblocks/lpc_lib.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <variant/ec.h>
|
#include <variant/ec.h>
|
||||||
|
|
||||||
static void ramstage_ec_init(void)
|
static void ramstage_ec_init(void)
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <boot/coreboot_tables.h>
|
#include <boot/coreboot_tables.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <variant/gpio.h>
|
#include <variant/gpio.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/cache.h>
|
#include <arch/cache.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/soc_services.h>
|
#include <soc/soc_services.h>
|
||||||
#include <symbols.h>
|
#include <symbols.h>
|
||||||
#include "mmu.h"
|
#include "mmu.h"
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <variant/gpio.h>
|
#include <variant/gpio.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <ec/ec.h>
|
#include <ec/ec.h>
|
||||||
#include <ec/google/chromeec/ec.h>
|
#include <ec/google/chromeec/ec.h>
|
||||||
#include <intelblocks/lpc_lib.h>
|
#include <intelblocks/lpc_lib.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <variant/ec.h>
|
#include <variant/ec.h>
|
||||||
|
|
||||||
static void ramstage_ec_init(void)
|
static void ramstage_ec_init(void)
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <variant/gpio.h>
|
#include <variant/gpio.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <vendorcode/google/chromeos/chromeos.h>
|
#include <vendorcode/google/chromeos/chromeos.h>
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
/* Everything below this line is ignored in the DSDT */
|
/* Everything below this line is ignored in the DSDT */
|
||||||
#ifndef __ACPI__
|
#ifndef __ACPI__
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
|
|
||||||
/* Device 0:0.0 PCI configuration space (Host Bridge) */
|
/* Device 0:0.0 PCI configuration space (Host Bridge) */
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
#ifndef __ACPI__
|
#ifndef __ACPI__
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
|
@ -65,7 +65,6 @@ enum platform_type {
|
||||||
PLATFORM_DESKTOP_SERVER,
|
PLATFORM_DESKTOP_SERVER,
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
/* Device 0:0.0 PCI configuration space (Host Bridge) */
|
/* Device 0:0.0 PCI configuration space (Host Bridge) */
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#include <bootmode.h>
|
#include <bootmode.h>
|
||||||
#include <bootstate.h>
|
#include <bootstate.h>
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <vb2_api.h>
|
#include <vb2_api.h>
|
||||||
#include <security/vboot/misc.h>
|
#include <security/vboot/misc.h>
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <fmap.h>
|
#include <fmap.h>
|
||||||
#include <gbb_header.h>
|
#include <gbb_header.h>
|
||||||
#include <reset.h>
|
#include <reset.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <security/vboot/gbb.h>
|
#include <security/vboot/gbb.h>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <ec/google/chromeec/ec.h>
|
#include <ec/google/chromeec/ec.h>
|
||||||
#include <rmodule.h>
|
#include <rmodule.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <security/vboot/misc.h>
|
#include <security/vboot/misc.h>
|
||||||
#include <security/vboot/symbols.h>
|
#include <security/vboot/symbols.h>
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <cbfs.h>
|
#include <cbfs.h>
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <rmodule.h>
|
#include <rmodule.h>
|
||||||
#include <stage_cache.h>
|
#include <stage_cache.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#define __PI_STONEYRIDGE_PCI_DEVS_H__
|
#define __PI_STONEYRIDGE_PCI_DEVS_H__
|
||||||
|
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#if !defined(__SIMPLE_DEVICE__)
|
#if !defined(__SIMPLE_DEVICE__)
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <soc/iomap.h>
|
#include <soc/iomap.h>
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AcpiMmio Region
|
* AcpiMmio Region
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#define _SOC_APOLLOLAKE_PCI_DEVS_H_
|
#define _SOC_APOLLOLAKE_PCI_DEVS_H_
|
||||||
|
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_ ## slot, 0)
|
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_ ## slot, 0)
|
||||||
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_ ## slot, func)
|
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_ ## slot, func)
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include <intelblocks/pmclib.h>
|
#include <intelblocks/pmclib.h>
|
||||||
#include <intelblocks/rtc.h>
|
#include <intelblocks/rtc.h>
|
||||||
#include <intelblocks/tco.h>
|
#include <intelblocks/tco.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/iomap.h>
|
#include <soc/iomap.h>
|
||||||
#include <soc/cpu.h>
|
#include <soc/cpu.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <ec/google/chromeec/ec.h>
|
#include <ec/google/chromeec/ec.h>
|
||||||
#include <drivers/intel/gma/opregion.h>
|
#include <drivers/intel/gma/opregion.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/acpi.h>
|
#include <soc/acpi.h>
|
||||||
#include <soc/gfx.h>
|
#include <soc/gfx.h>
|
||||||
#include <soc/iomap.h>
|
#include <soc/iomap.h>
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#ifndef _SOC_IOSF_H_
|
#ifndef _SOC_IOSF_H_
|
||||||
#define _SOC_IOSF_H_
|
#define _SOC_IOSF_H_
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#if ENV_RAMSTAGE
|
#if ENV_RAMSTAGE
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#define _SOC_NVS_H_
|
#define _SOC_NVS_H_
|
||||||
|
|
||||||
#include <commonlib/helpers.h>
|
#include <commonlib/helpers.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/device_nvs.h>
|
#include <soc/device_nvs.h>
|
||||||
#include <vendorcode/google/chromeos/gnvs.h>
|
#include <vendorcode/google/chromeos/gnvs.h>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#ifndef _SOC_SMM_H_
|
#ifndef _SOC_SMM_H_
|
||||||
#define _SOC_SMM_H_
|
#define _SOC_SMM_H_
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#if ENV_RAMSTAGE
|
#if ENV_RAMSTAGE
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/iomap.h>
|
#include <soc/iomap.h>
|
||||||
#include <soc/lpc.h>
|
#include <soc/lpc.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <commonlib/helpers.h>
|
#include <commonlib/helpers.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/lpc.h>
|
#include <soc/lpc.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <spi_flash.h>
|
#include <spi_flash.h>
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
#include <cpu/x86/tsc.h>
|
#include <cpu/x86/tsc.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/msr.h>
|
#include <soc/msr.h>
|
||||||
#if ENV_RAMSTAGE
|
#if ENV_RAMSTAGE
|
||||||
#include <soc/ramstage.h>
|
#include <soc/ramstage.h>
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#define _SOC_CANNONLAKE_PCI_DEVS_H_
|
#define _SOC_CANNONLAKE_PCI_DEVS_H_
|
||||||
|
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_ ## slot, 0)
|
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_ ## slot, 0)
|
||||||
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_ ## slot, func)
|
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_ ## slot, func)
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#include <intelblocks/rtc.h>
|
#include <intelblocks/rtc.h>
|
||||||
#include <intelblocks/tco.h>
|
#include <intelblocks/tco.h>
|
||||||
#include <halt.h>
|
#include <halt.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <soc/gpe.h>
|
#include <soc/gpe.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <intelblocks/p2sb.h>
|
#include <intelblocks/p2sb.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <soc/iomap.h>
|
#include <soc/iomap.h>
|
||||||
#include <soc/p2sb.h>
|
#include <soc/p2sb.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
/* All these devices live on bus 0 with the associated device and function */
|
/* All these devices live on bus 0 with the associated device and function */
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_##slot, 0)
|
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_##slot, 0)
|
||||||
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_##slot, func)
|
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_##slot, func)
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#define _SOC_ICELAKE_PCI_DEVS_H_
|
#define _SOC_ICELAKE_PCI_DEVS_H_
|
||||||
|
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_ ## slot, 0)
|
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_ ## slot, 0)
|
||||||
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_ ## slot, func)
|
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_ ## slot, func)
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#include <intelblocks/rtc.h>
|
#include <intelblocks/rtc.h>
|
||||||
#include <intelblocks/tco.h>
|
#include <intelblocks/tco.h>
|
||||||
#include <halt.h>
|
#include <halt.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <soc/gpe.h>
|
#include <soc/gpe.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#define _SOC_NVS_H_
|
#define _SOC_NVS_H_
|
||||||
|
|
||||||
#include <commonlib/helpers.h>
|
#include <commonlib/helpers.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <vendorcode/google/chromeos/gnvs.h>
|
#include <vendorcode/google/chromeos/gnvs.h>
|
||||||
|
|
||||||
typedef struct global_nvs_t {
|
typedef struct global_nvs_t {
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#define _SOC_PCH_H_
|
#define _SOC_PCH_H_
|
||||||
|
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
void pch_log_state(void);
|
void pch_log_state(void);
|
||||||
#if ENV_RAMSTAGE
|
#if ENV_RAMSTAGE
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#define _SOC_SKYLAKE_PCI_DEVS_H_
|
#define _SOC_SKYLAKE_PCI_DEVS_H_
|
||||||
|
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_ ## slot, 0)
|
#define _SA_DEVFN(slot) PCI_DEVFN(SA_DEV_SLOT_ ## slot, 0)
|
||||||
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_ ## slot, func)
|
#define _PCH_DEVFN(slot, func) PCI_DEVFN(PCH_DEV_SLOT_ ## slot, func)
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include <halt.h>
|
#include <halt.h>
|
||||||
#include <intelblocks/lpc_lib.h>
|
#include <intelblocks/lpc_lib.h>
|
||||||
#include <intelblocks/tco.h>
|
#include <intelblocks/tco.h>
|
||||||
#include <rules.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <soc/gpe.h>
|
#include <soc/gpe.h>
|
||||||
#include <soc/gpio.h>
|
#include <soc/gpio.h>
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#ifndef __RS780_H__
|
#ifndef __RS780_H__
|
||||||
#define __RS780_H__
|
#define __RS780_H__
|
||||||
|
|
||||||
#include <rules.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "rev.h"
|
#include "rev.h"
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <rules.h>
|
|
||||||
|
|
||||||
#if ENV_ROMSTAGE
|
#if ENV_ROMSTAGE
|
||||||
int southbridge_detect_s3_resume(void)
|
int southbridge_detect_s3_resume(void)
|
||||||
|
|
Loading…
Reference in New Issue