diff options
author | Nico Huber <nico.huber@secunet.com> | 2019-01-31 14:31:35 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-08-09 09:37:09 +0000 |
commit | 2fe596e6778ca1e9bc5a1f0f585604d000297426 (patch) | |
tree | 7035b9c74cee8bffb0d8a6bb7773f581a25760e4 /src/soc/intel/apollolake/include | |
parent | 733c28fa4228b1ce000d39e2807ebc3224302a7a (diff) | |
download | coreboot-2fe596e6778ca1e9bc5a1f0f585604d000297426.tar.xz |
soc/intel/apl: Implement power-failure-state API
Needed some Makefile changes to be able to compile for SMM.
Change-Id: Ibf218b90088a45349c54f4b881e895bb852e88bb
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31352
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/apollolake/include')
-rw-r--r-- | src/soc/intel/apollolake/include/soc/pm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/include/soc/pm.h b/src/soc/intel/apollolake/include/soc/pm.h index d3538342b0..d0b0421561 100644 --- a/src/soc/intel/apollolake/include/soc/pm.h +++ b/src/soc/intel/apollolake/include/soc/pm.h @@ -172,6 +172,7 @@ #define SRS (1 << 20) #define MS4V (1 << 18) #define RPS (1 << 2) +#define SLEEP_AFTER_POWER_FAIL (1 << 0) #define GEN_PMCON1_CLR1_BITS (COLD_BOOT_STS | COLD_RESET_STS | \ WARM_RESET_STS | GLOBAL_RESET_STS | \ SRS | MS4V) |