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:
Angel Pons 2021-06-16 16:57:21 +02:00 committed by Felix Held
parent 94aa18f527
commit 12fc21b1cf
13 changed files with 5 additions and 17 deletions

View File

@ -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>

View File

@ -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);

View File

@ -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[] = {

View File

@ -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)

View File

@ -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>

View File

@ -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)

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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__

View File

@ -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)
{ {