aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/include
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2017-05-19 18:38:24 +0530
committerMartin Roth <martinroth@google.com>2017-06-09 17:06:59 +0200
commit208587e0f688988eb20ec89d2422d27f0fe7ad27 (patch)
tree3aa4e4483418f9d7f077c7e772bd119f3be073e7 /src/soc/intel/apollolake/include
parent46a71782678b17aec49e938ab941a2604a5b9afe (diff)
soc/intel/apollolake: Use common systemagent code
This patch perform resource mapping for PCI, fixed MMIO, DRAM and IMR's based on inputs given by SoC. TEST=Ensure PCI root bridge 0:0:0 memory resource allocation remains same between previous implementation and current implementation. Change-Id: I15a3b2fc46ec9063b54379d41996b9a1d612cfd2 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/19795 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/apollolake/include')
-rw-r--r--src/soc/intel/apollolake/include/soc/systemagent.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/soc/intel/apollolake/include/soc/systemagent.h b/src/soc/intel/apollolake/include/soc/systemagent.h
index 6b423db840..fe9c15feaa 100644
--- a/src/soc/intel/apollolake/include/soc/systemagent.h
+++ b/src/soc/intel/apollolake/include/soc/systemagent.h
@@ -20,17 +20,12 @@
#include <intelblocks/systemagent.h>
-/* IMR registers are found under MCHBAR. */
-#define MCHBAR_IMR0BASE 0x6870
-#define MCHBAR_IMR0MASK 0x6874
-#define MCH_IMR_PITCH 0x20
-#define MCH_NUM_IMRS 20
-
/* RAPL Package Power Limit register under MCHBAR. */
#define PUNIT_THERMAL_DEVICE_IRQ 0x700C
#define PUINT_THERMAL_DEVICE_IRQ_VEC_NUMBER 0x18
#define PUINT_THERMAL_DEVICE_IRQ_LOCK 0x80000000
#define BIOS_RESET_CPL 0x7078
+#define PCODE_INIT_DONE (1 << 8)
#define MCHBAR_RAPL_PPL 0x70A8
#define CORE_DISABLE_MASK 0x7168