soc/intel/apollolake: Improve cold boot and S3 resume
commite673e5c09eebad3efbe19d15d064d131771abc2c
authorJohn Zhao <john.zhao@intel.com>
Tue, 30 Oct 2018 22:12:11 +0000 (30 15:12 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 8 Nov 2018 11:31:40 +0000 (8 11:31 +0000)
tree2a2063231f69218f467e8d1ef53a3b091fe5b73a
parente05fa66b24fa8227cb8c4e7f5a9d98871a743f98
soc/intel/apollolake: Improve cold boot and S3 resume

FSP 2.0.7.1 provides UPD interface to execute IPC command. Configure
PmicPmcIpcCtrl for PMC to program PMIC PCH_PWROK delay from default
100ms to 10ms to improve cold boot and S3 resume performance.

BUG=b:118676361
CQ-DEPEND=CL:*703187
TEST=Verified system_resume_firmware_ec time reduction.

Change-Id: I05656c9083a855112120b7f1b0ec01c42f582409
Signed-off-by: John Zhao <john.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/29363
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/soc/intel/apollolake/chip.c
src/soc/intel/apollolake/chip.h
src/vendorcode/intel/fsp/fsp2_0/glk/FspsUpd.h