diff --git a/src/import/chips/p9/xip/p9_xip_image.C b/src/import/chips/p9/xip/p9_xip_image.C index f12fc26e2..4dc4c6a0a 100644 --- a/src/import/chips/p9/xip/p9_xip_image.C +++ b/src/import/chips/p9/xip/p9_xip_image.C @@ -559,7 +559,6 @@ xipSetSectionSize(void* io_image, const int i_section, const uint32_t i_size) /// Set the properties of a section -// XIP_STATIC int xipSetSectionProps(void* io_image, const int i_section, const uint8_t i_props) { @@ -3265,6 +3264,11 @@ int p9_xip_dd_section_support(const void* i_image, int rc; P9XipSection section; + if (i_sectionId == P9_XIP_SECTION_HW_OVERLAYS) + { + return P9_XIP_OVERLAYS_NOT_SUPPORTED; + } + rc = p9_xip_get_section(i_image, i_sectionId, §ion); if (!rc) diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h index 924acfa84..48943b6ab 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