path: root/src/import/chips/p9/xip/p9_xip_image.h
diff options
authorRichard J. Knight <>2016-12-11 08:50:55 -0600
committerSachin Gupta <>2017-02-05 22:25:45 -0500
commitbee199d2de64328e7e634ad1e8fac985b8aa3472 (patch)
treef1aa3761d45d37e297e38e9df890b3d38de7b79b /src/import/chips/p9/xip/p9_xip_image.h
parentb63692979c318015b6132a26d94de5ab51d5ac83 (diff)
Add check to verify SBE .ring section size
-Add option to p9_xip_tool to verify the size of the DD specific .rings section intended for the SBE image -Update makefiles to correctly run p9_ring_apply to insert and extract the DD level specific rings. -Update tor_access_ring to correctly advance the pointer to the next DD level in the HW image so the size can be extracted correctlty. Change-Id: I21a53b5d11341a14a4e9cc88388c9c2050394095 RTC:165558 Reviewed-on: Tested-by: Jenkins Server <> Tested-by: PPE CI <> Tested-by: Hostboot CI <> Reviewed-by: Joseph J. McGill <> Reviewed-by: Thi N. Tran <> Reviewed-by: Sachin Gupta <> Reviewed-by: Jennifer A. Stofer <> 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, 4 insertions, 0 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h
index 97f21d35..6ec845f8 100644
--- a/src/import/chips/p9/xip/p9_xip_image.h
+++ b/src/import/chips/p9/xip/p9_xip_image.h
@@ -1454,6 +1454,9 @@ p9_xip_decode_toc_dump(void* i_image, void* i_dump,
/// Image has been broken and unable to restore original image.
+/// .rings seciton for specific dd level is larger than the allowable size
+#define P9_XIP_SBE_DD_SIZE_ERR 19
/// Applications can expand this macro to declare an array of string forms of
/// the error codes if desired.
#define P9_XIP_ERROR_STRINGS(var) \
@@ -1477,6 +1480,7 @@ p9_xip_decode_toc_dump(void* i_image, void* i_dump,
/// Applications can use this macro to safely index the array of error
OpenPOWER on IntegriCloud