soc/intel/apollolake: Use common PMC for apollolake
With this patch apollolake uses the common PMC util code.No regression observed on a APL platform. Change-Id: I322a25a8b608d7fe98bec626c6696e723357a9d2 Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/19375 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
83e9823aec
commit
93cdc8bbc2
@@ -31,6 +31,7 @@
|
||||
#include <fsp/util.h>
|
||||
#include <intelblocks/cpulib.h>
|
||||
#include <intelblocks/itss.h>
|
||||
#include <intelblocks/pmclib.h>
|
||||
#include <romstage_handoff.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <soc/itss.h>
|
||||
@@ -326,9 +327,9 @@ static void soc_final(void *data)
|
||||
rdev_munmap(&vbt_rdev, vbt);
|
||||
|
||||
/* Disable global reset, just in case */
|
||||
global_reset_enable(0);
|
||||
pmc_global_reset_enable(0);
|
||||
/* Make sure payload/OS can't trigger global reset */
|
||||
global_reset_lock();
|
||||
pmc_global_reset_lock();
|
||||
}
|
||||
|
||||
static void disable_dev(struct device *dev, FSP_S_CONFIG *silconfig)
|
||||
|
Reference in New Issue
Block a user