coreboot/src/soc/intel
Subrata Banik 5f9e1369fb UPSTREAM: soc/intel/skylake: Handle platform global reset
In FSP1.1 all the platform resets including global was handled
on its own without any intervention from coreboot.
In FSP2.0, any reset required will be notified to coreboot
and it is expected that coreboot will perform platform reset.

Hence, implement platform global reset hooks in coreboot. If Intel
ME is in non ERROR state then MEI message will able to perform
global reset else force global reset by writing 0x6 or 0xE to
0xCF9 port with PCH ETR3 register bit [20] set.

BUG=none
BRANCH=none
TEST=Verified platform global reset is working with MEI
message or writing to PCH ETR3.

Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/16903
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>

Change-Id: I57e55caa6d20b15644bac686be8734d9652f21e5
Reviewed-on: https://chromium-review.googlesource.com/400115
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-10-18 22:15:06 -07:00
..
apollolake UPSTREAM: soc/intel/apollolake: clear PMC registers 2016-10-18 22:14:56 -07:00
baytrail UPSTREAM: src/soc: Add required space before opening parenthesis '(' 2016-09-04 19:36:49 -07:00
braswell UPSTREAM: Makefile.inc: Use $(MAINBOARDDIR) 2016-09-07 00:16:17 -07:00
broadwell UPSTREAM: Kconfig: Update default hex values to start with 0x 2016-10-04 00:32:40 -07:00
common UPSTREAM: lpss_i2c: Add Kconfig option to enable debug 2016-09-15 13:41:14 -07:00
fsp_baytrail UPSTREAM: fsp_baytrail: Refactor code for SPI debug messages 2016-09-07 11:31:46 -07:00
fsp_broadwell_de UPSTREAM: soc/intel/fsp_broadwell_de: Fix system hang when timestamp is enabled 2016-10-11 14:32:15 -07:00
quark UPSTREAM: soc/intel/quark: Fix FSP 2.0 build 2016-09-30 18:03:30 -07:00
sch UPSTREAM: src/soc: Remove unnecessary whitespace before "\n" and "\t" 2016-09-02 07:11:51 -07:00
skylake UPSTREAM: soc/intel/skylake: Handle platform global reset 2016-10-18 22:15:06 -07:00