From 249671d79a098be1068df41754a258483aa17614 Mon Sep 17 00:00:00 2001 From: Murulidhar Nataraju Date: Thu, 4 Apr 2019 01:59:58 -0500 Subject: Updated HRMOR to 3968MB (64MB * 62) less than 4GB so as to fit it in 32 bits (mbox scratch reg) for OPAL based systems Change-Id: I85441c47e80fa3af0f8e576ae59400079b808250 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75512 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: RAJA DAS --- src/hwpf/target.C | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/hwpf/target.C b/src/hwpf/target.C index 2c1411f1..71b5e564 100644 --- a/src/hwpf/target.C +++ b/src/hwpf/target.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2018 */ +/* Contributors Listed Below - COPYRIGHT 2012,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -61,10 +61,11 @@ extern fapi2attr::EQAttributes_t* G_eq_attributes_ptr; extern fapi2attr::EXAttributes_t* G_ex_attributes_ptr; // For PhyP system, HRMOR is set to 128MB, which is multiple of 64MB Granule * 2 -// For OPAL system, it needs the HRMOR in the range of 4GB, so that HB reloading -// doesn't stamp on the OPAL/HostLinux Data. 64MB Granule * 64 = 4096MB, 64 is -// the multipler. -#define HRMOR_FOR_SPLESS_MODE 0x100000000ull //4096 * 1024 * 1024 +// For OPAL system, HRMOR needs to be lower than 4GB, so that HB reloading +// doesn't stamp on the OPAL/HostLinux Data .Its made lower than 4GB instead of +// 4GB inorder to make it fit it into the scratch register. +// 64MB Granule * 62 = 4096MB, 62 is the multipler +#define HRMOR_FOR_SPLESS_MODE 0xF8000000ull //3968 * 1024 * 1024 #endif // else __SBEFW_SEEPROM__ -- cgit v1.2.1