coreboot/src/cpu/intel
Duncan Laurie 7cced0d20e ec: Add romstage function for checking and rebooting EC
Now that we are executing VbInit() in coreboot we can end up
in a situation where the recovery reason is consumed during
VbInit (end of romstage) and then the EC is rebooted to RO
during ramstage EC init, thereby losing the recovery reason.

Two possiblities are to remove the EC check+reboot from ramstage
and let it happen in depthcharge.  This however means that the
system has to boot all the way into depthcharge and then reboot
the EC and the system again.

Instead if we do a check in romstage before VbInit() is called
then we can reboot the EC into RO early and avoid booting all
the way to depthcharge first.

This change adds a ramstage version the EC init function and
calls it from the shared romstage code immediately after the
PCH decode windows are setup.

Change-Id: I30d2a0c7131b8e4ec30c63eea36944ec111a8fba
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/3744
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-07-10 21:44:22 +02:00
..
car copy_and_run: drop boot_complete parameter 2013-05-08 18:24:23 +02:00
ep80579 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
fit x86 intel: Add Firmware Interface Table support 2013-03-17 22:53:51 +01:00
haswell ec: Add romstage function for checking and rebooting EC 2013-07-10 21:44:22 +02:00
hyperthreading Intel CPUs: Fix counting of CPU cores 2012-08-03 12:19:31 +02:00
microcode Intel microcode: Return when microcode_updates is NULL 2013-04-23 03:30:22 +02:00
model_6bx usbdebug: Drop temporary disables of log output 2013-06-14 18:18:56 +02:00
model_6dx Get rid of drivers class 2012-11-27 22:00:49 +01:00
model_6ex usbdebug: Drop temporary disables of log output 2013-06-14 18:18:56 +02:00
model_6fx usbdebug: Drop temporary disables of log output 2013-06-14 18:18:56 +02:00
model_6xx Get rid of drivers class 2012-11-27 22:00:49 +01:00
model_65x GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
model_67x GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
model_68x usbdebug: Drop temporary disables of log output 2013-06-14 18:18:56 +02:00
model_69x Get rid of drivers class 2012-11-27 22:00:49 +01:00
model_106cx usbdebug: Drop temporary disables of log output 2013-06-14 18:18:56 +02:00
model_206ax usbdebug: Drop temporary disables of log output 2013-06-14 18:18:56 +02:00
model_1067x usbdebug: Drop temporary disables of log output 2013-06-14 18:18:56 +02:00
model_2065x usbdebug: Drop temporary disables of log output 2013-06-14 18:18:56 +02:00
model_f0x Get rid of drivers class 2012-11-27 22:00:49 +01:00
model_f1x Get rid of drivers class 2012-11-27 22:00:49 +01:00
model_f2x Get rid of drivers class 2012-11-27 22:00:49 +01:00
model_f3x Get rid of drivers class 2012-11-27 22:00:49 +01:00
model_f4x Get rid of drivers class 2012-11-27 22:00:49 +01:00
slot_1 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
slot_2 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
socket_441 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
socket_BGA956 intel/socket_BGA956: enable speedstep, CAR, MMX, SSE 2012-11-06 21:51:43 +01:00
socket_FC_PGA370 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
socket_LGA771 Remove chip.h files without config structure 2012-10-07 12:55:04 +02:00
socket_LGA775 Fix socket LGA775 2013-03-07 00:46:32 +01:00
socket_mFCBGA479 Remove chip.h files without config structure 2012-10-07 12:55:04 +02:00
socket_mFCPGA478 Remove chip.h files without config structure 2012-10-07 12:55:04 +02:00
socket_mPGA478 Remove chip.h files without config structure 2012-10-07 12:55:04 +02:00
socket_mPGA479M Remove chip.h files without config structure 2012-10-07 12:55:04 +02:00
socket_mPGA603 Fix typo in mPGA603 socket 2012-10-07 21:48:37 +02:00
socket_mPGA604 Remove chip.h files without config structure 2012-10-07 12:55:04 +02:00
socket_PGA370 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
socket_rPGA989 Remove chip.h files without config structure 2012-10-07 12:55:04 +02:00
speedstep sconfig: rename lapic_cluster -> cpu_cluster 2013-02-14 07:07:20 +01:00
thermal_monitoring drop unused code (trivial) 2008-08-01 11:53:39 +00:00
turbo Add support for Intel Turbo Boost feature 2012-04-03 20:29:33 +02:00
Kconfig Add support for Intel Nehalem CPU 2013-06-13 00:32:01 +02:00
Makefile.inc Add support for Intel Nehalem CPU 2013-06-13 00:32:01 +02:00