From e38e29bf80c8c6a64ff26f8ebc633461e5e20ccc Mon Sep 17 00:00:00 2001 From: Claus Michael Olsen Date: Tue, 16 May 2017 05:21:33 -0500 Subject: xip_image: GPTR/overlays stage 1 support Updated p9_xip_dd_section_support to return "overlays not supported" if sectionId==.overlays is passed as arg. Further add a small update to xip_image.C to clear the ddSupport field in XipSection upon deleting a section. Change-Id: If64a8a6d7046aa857bd2c3f8ca8c1092565df5ad Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40546 Tested-by: PPE CI Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Richard J. Knight Reviewed-by: Sumit Kumar Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40647 Tested-by: FSP CI Jenkins Reviewed-by: Sachin Gupta --- src/import/chips/p9/xip/p9_xip_image.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/import/chips/p9/xip/p9_xip_image.h') diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h index 924acfa8..48943b6a 100644 --- a/src/import/chips/p9/xip/p9_xip_image.h +++ b/src/import/chips/p9/xip/p9_xip_image.h @@ -1506,6 +1506,8 @@ p9_xip_decode_toc_dump(void* i_image, void* i_dump, /// Code bug in the ddLevel handling codes #define P9_XIP_DDLEVEL_CODE_BUG 22 +/// Temporary error code to help prevent image co-req for stage 2 release of RTC174302 +#define P9_XIP_OVERLAYS_NOT_SUPPORTED 23 /// Applications can expand this macro to declare an array of string forms of /// the error codes if desired. @@ -1534,6 +1536,7 @@ p9_xip_decode_toc_dump(void* i_image, void* i_dump, "P9_XIP_NO_DDLEVEL_SUPPORT", \ "P9_XIP_DDLEVEL_NOT_FOUND", \ "P9_XIP_DDLEVEL_CODE_BUG", \ + "P9_XIP_OVERLAYS_NOT_SUPPORTED", \ } /// Applications can use this macro to safely index the array of error -- cgit v1.2.1