the following patch was just integrated into master: commit a673d1cd2d4d74fdc6f373952f14667f51908f1d 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: Iacd0483e4b3229aca602bb5bb40586eedf35a6ea Signed-off-by: Duncan Laurie dlaurie@chromium.org Reviewed-on: https://review.coreboot.org/16670 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin adurbin@chromium.org
See https://review.coreboot.org/16670 for details.
-gerrit