device/pci: Fix PCI accessor headers
PCI config accessors are no longer indirectly included from <arch/io.h> use <device/pci_ops.h> instead. Change-Id: I2adf46430a33bc52ef69d1bf7dca4655fc8475bd Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31675 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
committed by
Patrick Georgi
parent
44e89af6e6
commit
f1b58b7835
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include "init_cpus.h"
|
||||
|
||||
#if IS_ENABLED(CONFIG_HAVE_OPTION_TABLE)
|
||||
|
@@ -21,6 +21,7 @@
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <string.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <cpu/x86/pae.h>
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <timer.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <northbridge/amd/amdht/AsPsDefs.h>
|
||||
|
||||
static struct monotonic_counter {
|
||||
|
@@ -23,6 +23,7 @@
|
||||
#include <arch/acpigen.h>
|
||||
#include <cpu/amd/powernow.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <cpu/amd/amdfam10_sysconf.h>
|
||||
#include <arch/cpu.h>
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#include <cpu/amd/mtrr.h>
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
|
||||
|
@@ -17,6 +17,7 @@
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <smp/spinlock.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
|
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <console/console.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#if IS_ENABLED(CONFIG_HAVE_OPTION_TABLE)
|
||||
#include "option_table.h"
|
||||
|
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/amd/multicore.h>
|
||||
#include <device/pci_ops.h>
|
||||
#ifdef __PRE_RAM__
|
||||
#include <cpu/amd/msr.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user