summaryrefslogtreecommitdiffstats
path: root/core/opal-msg.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-01-13 17:56:17 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-01-16 09:55:43 +1100
commitc134dbfeaa1f24c892919b483c3fc00a05822efb (patch)
treef519bd0d6dcf9c639fe4c7e9e95378bc99e62511 /core/opal-msg.c
parent45b1170171775ad3df994da69933f2f8c659c398 (diff)
downloadblackbird-skiboot-c134dbfeaa1f24c892919b483c3fc00a05822efb.tar.gz
blackbird-skiboot-c134dbfeaa1f24c892919b483c3fc00a05822efb.zip
vpd: add vpd_valid() to check keyword VPD blobs
Adds a function to check whether a blob is a valid IBM ASCII keyword VPD blob. This allows us to recognise when we do and do not have a VPD blob and act accordingly. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> [stewart@linux.vnet.ibm.com: check if initial 0x84 exists. Spotted by Vasant] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/opal-msg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud