aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2013-04-23 00:22:22 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-04-24 00:22:31 -0400
commitfd2d37c8547e57e836f912cbb57a556022803891 (patch)
treef3d092870aaf8c8d6ed51dcbe677cd5c30bc3f34 /arch/powerpc/kernel
parentf51005d7a46d57cd07009816f7a9eabef11cc4c6 (diff)
powerpc/rtas_flash: New return code to indicate FW entitlement expiry
Add new return code to rtas_flash to indicate firmware entitlement expiry. Strictly we don't need this update. But to keep it in sync with PAPR, this was added. Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/rtas_flash.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/rtas_flash.c b/arch/powerpc/kernel/rtas_flash.c
index bc97a215c191..a3e4034b6843 100644
--- a/arch/powerpc/kernel/rtas_flash.c
+++ b/arch/powerpc/kernel/rtas_flash.c
@@ -77,6 +77,11 @@
77 * T side will be updated with a downlevel image 77 * T side will be updated with a downlevel image
78 */ 78 */
79#define VALIDATE_TMP_UPDATE_DL 6 79#define VALIDATE_TMP_UPDATE_DL 6
80/*
81 * The candidate image's release date is later than the system's firmware
82 * service entitlement date - service warranty period has expired
83 */
84#define VALIDATE_OUT_OF_WRNTY 7
80 85
81/* ibm,manage-flash-image operation tokens */ 86/* ibm,manage-flash-image operation tokens */
82#define RTAS_REJECT_TMP_IMG 0 87#define RTAS_REJECT_TMP_IMG 0