aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-07-14 17:59:26 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-14 17:59:26 +1000
commit1b264b336329d9283eb3549ef4ad68a14c415139 (patch)
tree962ca207020ec734ca598dcd2626ab1db730861b /include
parent6275e3237c2ac750d9a8a4b09e01e5834440001b (diff)
downloadskiboot-1b264b336329d9283eb3549ef4ad68a14c415139.zip
skiboot-1b264b336329d9283eb3549ef4ad68a14c415139.tar.gz
skiboot-1b264b336329d9283eb3549ef4ad68a14c415139.tar.bz2
Re-order error log component ID defines to be in order
This makes the (two) duplicates easier to spot Reported-by: Mukesh Ojha <mukesh02@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/errorlog.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/errorlog.h b/include/errorlog.h
index 0a4237f..77c1bfd 100644
--- a/include/errorlog.h
+++ b/include/errorlog.h
@@ -195,20 +195,6 @@ struct opal_err_info {
/* SAPPHIRE SRC componenet ID*/
#define OPAL_CU 0x1000
-#define OPAL_CN 0x2000
-#define OPAL_CE 0x3000
-#define OPAL_CH 0x4000
-#define OPAL_EL 0x5000
-#define OPAL_NV 0x6000
-#define OPAL_RT 0x7000
-#define OPAL_SU 0x8000
-#define OPAL_SP 0x9000
-#define OPAL_LP 0xa000
-#define OPAL_UA 0xb000
-#define OPAL_OC 0xc000
-#define OPAL_OP 0xd000
-#define OPAL_PH 0xe000
-#define OPAL_PS 0xf000
#define OPAL_VP 0x1000
#define OPAL_XS 0x1100
#define OPAL_PC 0x1200
@@ -220,10 +206,24 @@ struct opal_err_info {
#define OPAL_DU 0x1800
#define OPAL_LE 0x1900
#define OPAL_SE 0x2000
+#define OPAL_CN 0x2000
#define OPAL_SL 0x2100
#define OPAL_FP 0x2200
#define OPAL_IC 0x2300
#define OPAL_IP 0x2400
+#define OPAL_CE 0x3000
+#define OPAL_CH 0x4000
+#define OPAL_EL 0x5000
+#define OPAL_NV 0x6000
+#define OPAL_RT 0x7000
+#define OPAL_SU 0x8000
+#define OPAL_SP 0x9000
+#define OPAL_LP 0xa000
+#define OPAL_UA 0xb000
+#define OPAL_OC 0xc000
+#define OPAL_OP 0xd000
+#define OPAL_PH 0xe000
+#define OPAL_PS 0xf000
enum opal_reasoncode {
/* code update */