soc/intel/broadwell: Rename `ramstage.h`
This file only contains the `broadwell_run_reference_code()` function prototype (either a declaration or an inline stub definition). Rename this file to refcode.h and only include it where necessary. Tested with BUILD_TIMELESS=1, Purism Librem 13 v1 remains identical. Change-Id: I6513f45b8914a84312b27ef4860870a89fd0aab3 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55582 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
94aa18f527
commit
12fc21b1cf
|
@ -18,7 +18,6 @@
|
||||||
#include <drivers/intel/gma/libgfxinit.h>
|
#include <drivers/intel/gma/libgfxinit.h>
|
||||||
#include <drivers/intel/gma/opregion.h>
|
#include <drivers/intel/gma/opregion.h>
|
||||||
#include <soc/pm.h>
|
#include <soc/pm.h>
|
||||||
#include <soc/ramstage.h>
|
|
||||||
#include <soc/systemagent.h>
|
#include <soc/systemagent.h>
|
||||||
#include <soc/intel/broadwell/chip.h>
|
#include <soc/intel/broadwell/chip.h>
|
||||||
#include <security/vboot/vbnv.h>
|
#include <security/vboot/vbnv.h>
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#ifndef _BROADWELL_RAMSTAGE_H_
|
#ifndef BROADWELL_REFCODE_H
|
||||||
#define _BROADWELL_RAMSTAGE_H_
|
#define BROADWELL_REFCODE_H
|
||||||
|
|
||||||
#include <device/device.h>
|
|
||||||
#include <soc/intel/broadwell/chip.h>
|
|
||||||
|
|
||||||
#if CONFIG(HAVE_REFCODE_BLOB)
|
#if CONFIG(HAVE_REFCODE_BLOB)
|
||||||
void broadwell_run_reference_code(void);
|
void broadwell_run_reference_code(void);
|
|
@ -7,7 +7,6 @@
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <device/mmio.h>
|
#include <device/mmio.h>
|
||||||
#include <soc/intel/common/hda_verb.h>
|
#include <soc/intel/common/hda_verb.h>
|
||||||
#include <soc/ramstage.h>
|
|
||||||
#include <soc/igd.h>
|
#include <soc/igd.h>
|
||||||
|
|
||||||
static const u32 minihd_verb_table[] = {
|
static const u32 minihd_verb_table[] = {
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <soc/acpi.h>
|
#include <soc/acpi.h>
|
||||||
#include <soc/iomap.h>
|
#include <soc/iomap.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <soc/ramstage.h>
|
#include <soc/refcode.h>
|
||||||
#include <soc/systemagent.h>
|
#include <soc/systemagent.h>
|
||||||
|
|
||||||
u8 systemagent_revision(void)
|
u8 systemagent_revision(void)
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
#include <device/mmio.h>
|
#include <device/mmio.h>
|
||||||
#include <soc/adsp.h>
|
#include <soc/adsp.h>
|
||||||
#include <soc/pch.h>
|
#include <soc/pch.h>
|
||||||
#include <soc/ramstage.h>
|
|
||||||
#include <soc/rcba.h>
|
#include <soc/rcba.h>
|
||||||
#include <soc/intel/broadwell/pch/chip.h>
|
#include <soc/intel/broadwell/pch/chip.h>
|
||||||
#include <southbridge/intel/lynxpoint/iobp.h>
|
#include <southbridge/intel/lynxpoint/iobp.h>
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
#include <device/mmio.h>
|
#include <device/mmio.h>
|
||||||
#include <soc/intel/common/hda_verb.h>
|
#include <soc/intel/common/hda_verb.h>
|
||||||
#include <soc/pch.h>
|
#include <soc/pch.h>
|
||||||
#include <soc/ramstage.h>
|
|
||||||
#include <soc/rcba.h>
|
#include <soc/rcba.h>
|
||||||
|
|
||||||
static void codecs_init(u8 *base, u32 codec_mask)
|
static void codecs_init(u8 *base, u32 codec_mask)
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <soc/pch.h>
|
#include <soc/pch.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <soc/pm.h>
|
#include <soc/pm.h>
|
||||||
#include <soc/ramstage.h>
|
|
||||||
#include <soc/rcba.h>
|
#include <soc/rcba.h>
|
||||||
#include <soc/intel/broadwell/pch/chip.h>
|
#include <soc/intel/broadwell/pch/chip.h>
|
||||||
#include <acpi/acpigen.h>
|
#include <acpi/acpigen.h>
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include <soc/lpc.h>
|
#include <soc/lpc.h>
|
||||||
#include <soc/pch.h>
|
#include <soc/pch.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <soc/ramstage.h>
|
|
||||||
#include <soc/rcba.h>
|
#include <soc/rcba.h>
|
||||||
#include <soc/intel/broadwell/pch/chip.h>
|
#include <soc/intel/broadwell/pch/chip.h>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <soc/pch.h>
|
#include <soc/pch.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <soc/ramstage.h>
|
#include <drivers/intel/gma/gma.h> /* TODO: for reproducibility purposes only */
|
||||||
#include <soc/rcba.h>
|
#include <soc/rcba.h>
|
||||||
#include <soc/serialio.h>
|
#include <soc/serialio.h>
|
||||||
#include <soc/spi.h>
|
#include <soc/spi.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
#include <soc/ramstage.h>
|
|
||||||
#include <soc/rcba.h>
|
#include <soc/rcba.h>
|
||||||
#include <soc/sata.h>
|
#include <soc/sata.h>
|
||||||
#include <soc/intel/broadwell/pch/chip.h>
|
#include <soc/intel/broadwell/pch/chip.h>
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <soc/pch.h>
|
#include <soc/pch.h>
|
||||||
#include <soc/ramstage.h>
|
|
||||||
#include <soc/rcba.h>
|
#include <soc/rcba.h>
|
||||||
#include <soc/serialio.h>
|
#include <soc/serialio.h>
|
||||||
#include <soc/intel/broadwell/pch/chip.h>
|
#include <soc/intel/broadwell/pch/chip.h>
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
#include <acpi/acpi.h>
|
#include <acpi/acpi.h>
|
||||||
#include <device/mmio.h>
|
#include <device/mmio.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <soc/ramstage.h>
|
|
||||||
#include <soc/xhci.h>
|
#include <soc/xhci.h>
|
||||||
|
|
||||||
#ifdef __SIMPLE_DEVICE__
|
#ifdef __SIMPLE_DEVICE__
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include <soc/pei_data.h>
|
#include <soc/pei_data.h>
|
||||||
#include <soc/pei_wrapper.h>
|
#include <soc/pei_wrapper.h>
|
||||||
#include <soc/pm.h>
|
#include <soc/pm.h>
|
||||||
#include <soc/ramstage.h>
|
#include <soc/refcode.h>
|
||||||
|
|
||||||
static pei_wrapper_entry_t load_reference_code(void)
|
static pei_wrapper_entry_t load_reference_code(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue