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:
Shaunak Saha
2017-04-18 15:42:09 -07:00
committed by Aaron Durbin
parent 83e9823aec
commit 93cdc8bbc2
10 changed files with 86 additions and 476 deletions

View File

@@ -22,6 +22,7 @@
#include <intelblocks/pcr.h>
#include <intelblocks/rtc.h>
#include <intelblocks/systemagent.h>
#include <intelblocks/pmclib.h>
#include <soc/iomap.h>
#include <soc/cpu.h>
#include <soc/gpio.h>
@@ -91,7 +92,7 @@ void bootblock_soc_early_init(void)
enable_pmcbar();
/* Clear global reset promotion bit */
global_reset_enable(0);
pmc_global_reset_enable(0);
/* Prepare UART for serial console. */
if (IS_ENABLED(CONFIG_SOC_UART_DEBUG))