aboutsummaryrefslogtreecommitdiff
path: root/hdata/spira.h
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2018-01-05 09:55:53 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-01-05 10:10:59 +1100
commit4e23b42d2ad76da21422a1d2de471df29f76b8df (patch)
tree0483730e622276fa7817244c813ab7c1846c2ac7 /hdata/spira.h
parent8514d755c3ade836c335ae7f5d41d090f1243612 (diff)
downloadskiboot-4e23b42d2ad76da21422a1d2de471df29f76b8df.zip
skiboot-4e23b42d2ad76da21422a1d2de471df29f76b8df.tar.gz
skiboot-4e23b42d2ad76da21422a1d2de471df29f76b8df.tar.bz2
hdata: Parse IPL FW feature settings
Add parsing for the firmware feature flags in the HDAT. This indicates the settings of various parameters which are set at IPL time by firmware. Cc: stable # 5.4.x 371e88e23662 eeba2d64fb7a 0abc3af7e8f6 Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r--hdata/spira.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hdata/spira.h b/hdata/spira.h
index 2ef13f3..39e0e33 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -443,6 +443,13 @@ struct iplparms_serial {
#define PLPARMS_SERIAL_FLAGS_CALLHOME 0x8000
} __packed;
+/* Idata index 9: FW features */
+#define IPLPARAMS_FEATURES 9
+struct iplparams_feature {
+ char name[64];
+ __be64 flags;
+} __packed;
+
/*
* Chip TOD structure
*