the following patch was just integrated into master: commit 5e3dad66227bba4be9365ee76d00231bb5577b56 Author: Duncan Laurie dlaurie@chromium.org Date: Mon Sep 19 12:02:54 2016 -0700
soc/intel/apollolake: Initialize GPEs in bootblock
Initialize the GPEs from mainboard config in bootblock, so they can be used in verstage to query latched interrupt status.
I still left it called in ramstage just to be sure that the configuration was not overwritten in FSP stages.
Tested by reading and reporting GPE status in a loop in verstage and manually triggering an interrupt on EC console.
BUG=chrome-os-partner:53336
Change-Id: I1af3e9ac1e5c59b9ebb5c6dd1599309c1f036581 Signed-off-by: Duncan Laurie dlaurie@chromium.org
See https://review.coreboot.org/16658 for details.
-gerrit