diff options
author | Mamatha Inamdar <mamatha4@linux.vnet.ibm.com> | 2014-08-13 13:50:08 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-13 18:39:25 +1000 |
commit | 8c5756aba3a9331356e3abeac39d6ceacc65914b (patch) | |
tree | aff1b7b5e0a48e17e4ac026914111e11ec1e7fb6 /include/opal.h | |
parent | bb8be0ec098a57796776b8a1d1fb49a220a539d8 (diff) | |
download | skiboot-8c5756aba3a9331356e3abeac39d6ceacc65914b.zip skiboot-8c5756aba3a9331356e3abeac39d6ceacc65914b.tar.gz skiboot-8c5756aba3a9331356e3abeac39d6ceacc65914b.tar.bz2 |
fsp/tpo: Enable Timed power on (TPO) support
This patch enabled TPO sequence handling in Sapphire.
Timed power on notification comes from the user through
set_poweron_time tool. After receiving a valid TPO from user,
Sapphire sends a request to FSP through maibox command to set TPO.
FSP will set TPO and power on the system as per the TPO set by the user.
[ Removed global read_data, removed writing to NULL pointers,
fixed a couple of memory leaks ... --BenH
]
Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/opal.h')
-rw-r--r-- | include/opal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/opal.h b/include/opal.h index 10213e5..eac7eb6 100644 --- a/include/opal.h +++ b/include/opal.h @@ -138,7 +138,9 @@ #define OPAL_SLW_SET_REG 100 #define OPAL_REGISTER_DUMP_REGION 101 #define OPAL_UNREGISTER_DUMP_REGION 102 -#define OPAL_LAST 102 +#define OPAL_WRITE_TPO 103 +#define OPAL_READ_TPO 104 +#define OPAL_LAST 104 #ifndef __ASSEMBLY__ |