From 208587e0f688988eb20ec89d2422d27f0fe7ad27 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 19 May 2017 18:38:24 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/19795 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/intel/apollolake/include/soc/systemagent.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/soc/intel/apollolake/include') 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 -/* 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 -- cgit v1.2.3