summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHannah Williams <hannah.williams@intel.com>2016-04-29 14:48:20 -0700
committerMartin Roth <martinroth@google.com>2016-06-04 23:48:21 +0200
commit5d9cc7866f9c2536c0fd809665c00ec88501226f (patch)
tree938fb237d2e3e0ca664af926a2f8654175deea7e /src
parenta942bd49525706f88abe3558b17611ef64738072 (diff)
downloadcoreboot-5d9cc7866f9c2536c0fd809665c00ec88501226f.tar.xz
soc/apollolake: Put CSE to low power state
fsp_notify(END_OF_FIRMWARE) should be sent to FSP to enable putting CSE in low power state Change-Id: I76b8e85ccf077032616ba8e4a333d9264dc65ed2 Signed-off-by: Hannah Williams <hannah.williams@intel.com> Reviewed-on: https://review.coreboot.org/15054 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/apollolake/chip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index d7c61c14dc..17bceec225 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -138,6 +138,9 @@ static void fsp_notify_dummy(void *arg)
if (fsp_notify(ph) != FSP_SUCCESS)
printk(BIOS_CRIT, "FspNotify failed!\n");
+ /* Call END_OF_FIRMWARE Notify after READY_TO_BOOT Notify */
+ if (ph == READY_TO_BOOT)
+ fsp_notify_dummy((void *)END_OF_FIRMWARE);
}
BOOT_STATE_INIT_ENTRY(BS_DEV_RESOURCES, BS_ON_EXIT, fsp_notify_dummy,