diff options
author | Murulidhar Nataraju <murulidhar@in.ibm.com> | 2019-04-04 01:59:58 -0500 |
---|---|---|
committer | RAJA DAS <rajadas2@in.ibm.com> | 2019-04-04 10:26:26 -0500 |
commit | 249671d79a098be1068df41754a258483aa17614 (patch) | |
tree | 3aedef38b5bcc9babb98c52e90a62143ed4f6b58 /src | |
parent | 6a7478da76d16cd3bb4f25e43f3261ff0c83542a (diff) | |
download | talos-sbe-249671d79a098be1068df41754a258483aa17614.tar.gz talos-sbe-249671d79a098be1068df41754a258483aa17614.zip |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/hwpf/target.C | 11 |
1 files 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__ |