summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMurulidhar Nataraju <murulidhar@in.ibm.com>2019-04-04 01:59:58 -0500
committerRAJA DAS <rajadas2@in.ibm.com>2019-04-04 10:26:26 -0500
commit249671d79a098be1068df41754a258483aa17614 (patch)
tree3aedef38b5bcc9babb98c52e90a62143ed4f6b58
parent6a7478da76d16cd3bb4f25e43f3261ff0c83542a (diff)
downloadtalos-sbe-249671d79a098be1068df41754a258483aa17614.zip
talos-sbe-249671d79a098be1068df41754a258483aa17614.tar.gz
Updated HRMOR to 3968MB (64MB * 62) less thanHEADmaster
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 <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
-rw-r--r--src/hwpf/target.C11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/hwpf/target.C b/src/hwpf/target.C
index 2c1411f..71b5e56 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__
OpenPOWER on IntegriCloud