From c30be2b5469301e7269dc5689a70428e592f369f Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Wed, 12 Jul 2017 09:18:13 -0500 Subject: Address minor comments from Story 175114 Done separately in order to not restart CI on other commits Change-Id: I02c91d15c7a58673ba9e3da67a61aee66a647915 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43034 Reviewed-by: Martin Gloff Reviewed-by: Michael Baiocchi Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/build/debug/Hostboot/Dump.pm | 2 +- src/build/debug/fsp-memdump.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/build/debug') diff --git a/src/build/debug/Hostboot/Dump.pm b/src/build/debug/Hostboot/Dump.pm index 0966e2187..e7c1c78de 100755 --- a/src/build/debug/Hostboot/Dump.pm +++ b/src/build/debug/Hostboot/Dump.pm @@ -41,7 +41,7 @@ use constant MEMSTATE_MS_32MEG => 0x20; use constant _KB => 1024; use constant _MB => 1024 * 1024; -# Size of HBB PNOR partition without ECC, page algined down, minus 4K header +# Size of HBB PNOR partition without ECC, page aligned down, minus 4K header use constant MAX_HBB_SIZE => (904 * _KB); # Map the available memory at each state. diff --git a/src/build/debug/fsp-memdump.sh b/src/build/debug/fsp-memdump.sh index d4313d671..49e57fa9a 100755 --- a/src/build/debug/fsp-memdump.sh +++ b/src/build/debug/fsp-memdump.sh @@ -117,14 +117,14 @@ HB_BASE_HRMOR=`expr 32 \* 1024 \* 1024 \* 1024 \* 1024` HRMOR=`expr ${HB_BASE_HRMOR} \* ${NODE} + ${HB_OFFSET}` echo "NODE: ${NODE} - HRMOR is: ${HRMOR}" -# Using initial STATE, iterate through all the included states dumping each's +# Using initial STATE, iterate through all the included states dumping each # appropriate memory sections. while [[ ${STATE} != BREAK ]] do # *** NOTE: Keep in sync with Dump.pm and bootloaderif.H (MAX_HBB_SIZE) case ${STATE} in 00|0) - # Size of HBB PNOR partition without ECC, page algined down, minus 4K header + # Size of HBB PNOR partition without ECC, page aligned down, minus 4K header dump 0 925696 STATE=BREAK ;; -- cgit v1.2.1