path: root/src/import/chips/p9/xip/p9_xip_image.h
diff options
authorMartin Peschke <>2016-09-15 14:40:39 +0200
committerSachin Gupta <>2016-09-20 04:43:45 -0400
commit278e29100f424cc4d148bbfdcc509b19b3a2ec3e (patch)
tree2b766f4ac045cc781fd4e5e100a224a88b670e0a /src/import/chips/p9/xip/p9_xip_image.h
parente1ee57c925e45d3cc10b50b82504642f190e2002 (diff)
P9-XIP: p9_xip_get_item() can now deal with array attributes
This is a new API only used in one place so far. So enhancing it should be ok. The funtionality is needed for a p9_xip_tool change. Change-Id: Ibecb2ee45dc5fbf1394fcac0bfef92aa10468927 Reviewed-on: Reviewed-by: Shakeeb A. Pasha B K <> Reviewed-by: Sachin Gupta <> Tested-by: Jenkins Server <> Tested-by: PPE CI <> Tested-by: Hostboot CI <> Reviewed-by: Richard J. Knight <> Reviewed-by: Martin Peschke <> Reviewed-on: Reviewed-by: Hostboot Team <> Tested-by: FSP CI Jenkins <>
Diffstat (limited to 'src/import/chips/p9/xip/p9_xip_image.h')
1 files changed, 3 insertions, 1 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h
index 06240326..58410d4d 100644
--- a/src/import/chips/p9/xip/p9_xip_image.h
+++ b/src/import/chips/p9/xip/p9_xip_image.h
@@ -739,11 +739,13 @@ p9_xip_get_scalar(void* i_image, const char* i_id, uint64_t* o_data);
/// data. Assuming the item is located this variable is assigned by the call.
/// In the event of an error the final state of \a o_data is not specified.
+/// \param[in] i_index The index of the vector element to return.
/// \retval 0 Success
/// \retval non-0 See \ref p9_xip_image_errors
-p9_xip_get_item(const P9XipItem *i_item, uint64_t* o_data);
+p9_xip_get_item(const P9XipItem *i_item, uint64_t* o_data, uint32_t i_index);
/// Get an integral element from a vector held in a P9-XIP image
OpenPOWER on IntegriCloud