soc/intel/apollolake: Use MCH_BASE_ADDRESS macro for APL
Systemagent common code will use MCH_BASE_ADDRESS macro, hence cleaning current APL code to adhere such changes. Change-Id: Iace1cf786b08221c3955101186509ac5161c3841 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/19793 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
committed by
Aaron Durbin
parent
f5f7c84a58
commit
d18b53f45d
@ -273,7 +273,8 @@ static void set_power_limits(void)
|
||||
100 * (pl2_val % power_unit) / power_unit);
|
||||
|
||||
/* Get the MMIO address */
|
||||
rapl_mmio_reg = (void *)(uintptr_t) (MCH_BASE_ADDR + MCHBAR_RAPL_PPL);
|
||||
rapl_mmio_reg = (void *)(uintptr_t) (MCH_BASE_ADDRESS +
|
||||
MCHBAR_RAPL_PPL);
|
||||
|
||||
/* Setting RAPL MMIO register for Power limits.
|
||||
* RAPL driver is using MSR instead of MMIO.
|
||||
|
Reference in New Issue
Block a user