]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/rtas_flash: New return code to indicate FW entitlement expiry
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Tue, 23 Apr 2013 04:22:22 +0000 (04:22 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Apr 2013 04:22:31 +0000 (14:22 +1000)
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>
arch/powerpc/kernel/rtas_flash.c

index bc97a215c191f960825daafddbe10a2181004d40..a3e4034b6843dffe671ba26d7b91ff166a6f7b5d 100644 (file)
  * T side will be updated with a downlevel image
  */
 #define VALIDATE_TMP_UPDATE_DL 6
+/*
+ * The candidate image's release date is later than the system's firmware
+ * service entitlement date - service warranty period has expired
+ */
+#define VALIDATE_OUT_OF_WRNTY  7
 
 /* ibm,manage-flash-image operation tokens */
 #define RTAS_REJECT_TMP_IMG   0