diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-04-18 12:38:29 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-04-19 20:54:06 +0200 |
commit | e0a60383b2a8e42f54b6e8a650236d44ef6ff58c (patch) | |
tree | e27ec99422b61c4e32d739379c530123dafe3f9b /src | |
parent | 342f5f836c4c375d551087eab4c45fe904eef278 (diff) |
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 <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/19355
Tested-by: build bot (Jenkins)
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/quark/include/soc/pci_devs.h | 1 | ||||
-rw-r--r-- | src/soc/intel/quark/reg_access.c | 1 |
2 files changed, 1 insertions, 1 deletions
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 <device/pci.h> #include <device/pci_def.h> -#include <soc/reg_access.h> /* 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 <console/console.h> #include <soc/pci_devs.h> #include <soc/ramstage.h> +#include <soc/reg_access.h> static uint16_t get_gpe0_address(uint32_t reg_address) { |