From d87aceae2d5e5cb66201af5f897b06fa1471d90e Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Mon, 20 Mar 2017 13:07:42 -0500 Subject: Add PNOR SectionIdToString to replace direct access to cv_EYECATCHER This catches if the const array size does not match the number of pnor sections and out of range index errors Also it adds genErrlParsing for bootloader files Change-Id: I0a90816a7620022dec16bc7358a68ffbdade0083 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38159 Reviewed-by: Martin Gloff Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Reviewed-by: Michael Baiocchi Reviewed-by: Nicholas E. Bofferding Reviewed-by: William G. Hoffa --- src/include/bootloader/bootloader_trace.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include/bootloader/bootloader_trace.H') diff --git a/src/include/bootloader/bootloader_trace.H b/src/include/bootloader/bootloader_trace.H index 6de32997c..fb86e1c8b 100644 --- a/src/include/bootloader/bootloader_trace.H +++ b/src/include/bootloader/bootloader_trace.H @@ -141,6 +141,9 @@ enum BootloaderTraces /** Bootloader Utils parseEntries invalid section */ BTLDR_TRC_UTILS_PARSE_INVALID_SECTION = 0xE7, + /** Bootloader Utils SectionIdToString PNOR section id out of range*/ + BTLDR_TRC_UTILS_PARSE_PNOR_SECID_OUT_OF_RANGE = 0xE8, + /** Bootloader main getHBBSection returned error */ BTLDR_TRC_MAIN_GETHBBSECTION_FAIL = 0xF0, -- cgit v1.2.3