From e0a60383b2a8e42f54b6e8a650236d44ef6ff58c Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 18 Apr 2017 12:38:29 -0700 Subject: soc/intel/quark: Move include of reg_access.h Move include of reg_access.h from pci_devs.h to reg_access.c. TEST=Build and run on Galileo Gen2 Change-Id: I0d2de96f51c56001cdd06c7974cbc649fde1e89c Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/19355 Tested-by: build bot (Jenkins) Reviewed-by: Sumeet R Pawnikar --- src/soc/intel/quark/include/soc/pci_devs.h | 1 - src/soc/intel/quark/reg_access.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/soc/intel/quark/include/soc/pci_devs.h b/src/soc/intel/quark/include/soc/pci_devs.h index 2ddc2141b7..fc28dfe1d1 100644 --- a/src/soc/intel/quark/include/soc/pci_devs.h +++ b/src/soc/intel/quark/include/soc/pci_devs.h @@ -20,7 +20,6 @@ #include #include -#include /* DEVICE 0 (Memory Controller Hub) */ #define MC_BDF PCI_DEV(PCI_BUS_NUMBER_QNC, MC_DEV, MC_FUN) diff --git a/src/soc/intel/quark/reg_access.c b/src/soc/intel/quark/reg_access.c index 5c4629bcc7..867a4316a8 100644 --- a/src/soc/intel/quark/reg_access.c +++ b/src/soc/intel/quark/reg_access.c @@ -20,6 +20,7 @@ #include #include #include +#include static uint16_t get_gpe0_address(uint32_t reg_address) { -- cgit v1.2.3