diff options
| author | Marty Gloff <mgloff@us.ibm.com> | 2017-05-10 08:28:26 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-05-23 13:50:47 -0400 |
| commit | da1946689af4b765c9ad5c6a7f64cc4f34df252a (patch) | |
| tree | edb9d2974ba7188cf4317a8a4914cec989a7ab9f /src/include/usr | |
| parent | 0010d98b52108a55a722768c864341b6300b8852 (diff) | |
| download | blackbird-hostboot-da1946689af4b765c9ad5c6a7f64cc4f34df252a.tar.gz blackbird-hostboot-da1946689af4b765c9ad5c6a7f64cc4f34df252a.zip | |
Save space in Bootloader image with minimized section ID array
The PNOR section ID array takes a large amount of space to store
the character strings and pointers to them. Space can be reclaimed
by just storing the HBB ID. One trace is also turned off for
Bootloader since it is then hit for all the other PNOR sections.
Change-Id: I59585c2b976aa0351e75f477532415c669447541
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40330
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr')
| -rw-r--r-- | src/include/usr/pnor/pnor_const.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/usr/pnor/pnor_const.H b/src/include/usr/pnor/pnor_const.H index ef9478567..ae02a2fd2 100644 --- a/src/include/usr/pnor/pnor_const.H +++ b/src/include/usr/pnor/pnor_const.H @@ -39,9 +39,12 @@ enum SectionId { TOC, /**< Table of Contents */ // Value of HB_EXT_CODE must be 1 for debug framework. +#ifndef BOOTLOADER HB_EXT_CODE, /**< Hostboot Extended Image */ GLOBAL_DATA, /**< Global Data */ +#endif HB_BASE_CODE, /**< Hostboot Base Image */ +#ifndef BOOTLOADER CENTAUR_SBE, /**< Centaur Self-Boot Engine image */ SBE_IPL, /**< Self-Boot Engine IPL image */ HCODE, /**< HCODE Reference image */ @@ -68,6 +71,7 @@ enum SectionId RINGOVD, /**< Ring override data */ WOFDATA, /**< VFRT data tables for WOF */ SBKT, /**< SecureBoot Key Transition */ +#endif NUM_SECTIONS, /**< Number of defined sections */ FIRST_SECTION = TOC, /**< First section (for looping) */ |

