arch/io.h: Drop includes in fam10 romstages

These files suffer from .c includes.

Change-Id: Id836595290922fcbd108a5ed576fc640b2530711
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31696
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2019-03-02 20:16:23 +02:00 committed by Patrick Georgi
parent 1368244d48
commit 7362768c50
29 changed files with 12 additions and 18 deletions

View File

@ -18,7 +18,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -20,7 +20,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -18,7 +18,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -21,7 +21,6 @@
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <arch/io.h>
#include <device/pnp_ops.h> #include <device/pnp_ops.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <arch/cpu.h> #include <arch/cpu.h>

View File

@ -20,7 +20,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -20,7 +20,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -20,7 +20,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>

View File

@ -18,7 +18,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>

View File

@ -20,7 +20,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -20,7 +20,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -20,7 +20,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -20,7 +20,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -21,7 +21,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -19,7 +19,6 @@
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <arch/io.h>
#include <device/pnp_ops.h> #include <device/pnp_ops.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <arch/cpu.h> #include <arch/cpu.h>

View File

@ -19,7 +19,6 @@
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <arch/io.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>

View File

@ -19,7 +19,6 @@
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <arch/io.h>
#include <device/pnp_ops.h> #include <device/pnp_ops.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <arch/cpu.h> #include <arch/cpu.h>

View File

@ -20,7 +20,6 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <console/console.h> #include <console/console.h>

View File

@ -19,7 +19,6 @@
#include <string.h> #include <string.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <arch/io.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>

View File

@ -11,6 +11,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/smbus_def.h> #include <device/smbus_def.h>
#define SMBGSTATUS 0xe0 #define SMBGSTATUS 0xe0

View File

@ -13,6 +13,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <reset.h> #include <reset.h>
#include <southbridge/amd/common/reset.h> #include <southbridge/amd/common/reset.h>

View File

@ -11,6 +11,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include "amd8111_smbus.h" #include "amd8111_smbus.h"

View File

@ -16,6 +16,7 @@
#ifndef _SB800_EARLY_SETUP_C_ #ifndef _SB800_EARLY_SETUP_C_
#define _SB800_EARLY_SETUP_C_ #define _SB800_EARLY_SETUP_C_
#include <arch/io.h>
#include <reset.h> #include <reset.h>
#include <southbridge/amd/common/amd_defs.h> #include <southbridge/amd/common/amd_defs.h>
#include <southbridge/amd/common/reset.h> #include <southbridge/amd/common/reset.h>

View File

@ -14,6 +14,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <reset.h> #include <reset.h>
#include <southbridge/amd/common/reset.h> #include <southbridge/amd/common/reset.h>
#include "bcm5785.h" #include "bcm5785.h"

View File

@ -14,6 +14,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include "smbus.h" #include "smbus.h"

View File

@ -14,6 +14,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/smbus_def.h> #include <device/smbus_def.h>
#define SMBHSTSTAT 0x0 #define SMBHSTSTAT 0x0

View File

@ -16,6 +16,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <southbridge/amd/common/reset.h> #include <southbridge/amd/common/reset.h>
#include "ck804.h" #include "ck804.h"

View File

@ -14,6 +14,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/smbus_def.h> #include <device/smbus_def.h>
#define SMBHSTSTAT 0x1 #define SMBHSTSTAT 0x1

View File

@ -15,6 +15,8 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#ifdef UNUSED_CODE #ifdef UNUSED_CODE
int set_ht_link_buffer_counts_chain(u8 ht_c_num, unsigned vendorid, unsigned val); int set_ht_link_buffer_counts_chain(u8 ht_c_num, unsigned vendorid, unsigned val);

View File

@ -17,6 +17,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <arch/io.h>
#include <device/smbus_def.h> #include <device/smbus_def.h>
#define SMBHSTSTAT 0x1 #define SMBHSTSTAT 0x1