diff options
| author | Andre Marin <aamarin@us.ibm.com> | 2019-07-09 15:50:06 -0400 |
|---|---|---|
| committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-07-19 09:07:03 -0500 |
| commit | 831f9e0d8b3297f38acd3f059b853f5711877530 (patch) | |
| tree | a9b405fc568edca26ce2239fc15adc442c520794 /src/import/generic/memory/lib/utils | |
| parent | dd6aa0faadde7069f8bf628b5557b98206730c2c (diff) | |
| download | talos-hostboot-831f9e0d8b3297f38acd3f059b853f5711877530.tar.gz talos-hostboot-831f9e0d8b3297f38acd3f059b853f5711877530.zip | |
Fix HB error with -Os compile flag due to eff_config
Top level template is NOT unique between the two files
when using the -Os compile flag. The linker just picks
the wrong file template definition between p9a and p9n.
In -O3 everything is left in place, inline so it just works
which is why we didn't hit this error before in HB
Change-Id: I529f93fc91684ae14a132d96f518a5f66f036d4b
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80167
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80229
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/generic/memory/lib/utils')
| -rw-r--r-- | src/import/generic/memory/lib/utils/dimm/mss_timing.H | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/import/generic/memory/lib/utils/dimm/mss_timing.H b/src/import/generic/memory/lib/utils/dimm/mss_timing.H index aa1915e3d..8fd169508 100644 --- a/src/import/generic/memory/lib/utils/dimm/mss_timing.H +++ b/src/import/generic/memory/lib/utils/dimm/mss_timing.H @@ -213,7 +213,7 @@ inline fapi2::ReturnCode calc_trfc_dlr(const fapi2::Target<fapi2::TARGET_TYPE_DI // Item No. 1727.58A // pg. 69 - 71 // Table 42 - Refresh parameters by logical rank density - static const std::vector<std::pair<uint8_t, uint64_t> > TRFC_DLR1 = + const std::vector<std::pair<uint8_t, uint64_t> > TRFC_DLR1 = { // { density in GBs, tRFC4(min) in picoseconds } {4, 90000}, @@ -225,7 +225,7 @@ inline fapi2::ReturnCode calc_trfc_dlr(const fapi2::Target<fapi2::TARGET_TYPE_DI // Item No. 1727.58A // pg. 69 - 71 // Table 42 - Refresh parameters by logical rank density - static const std::vector<std::pair<uint8_t, uint64_t> > TRFC_DLR2 = + const std::vector<std::pair<uint8_t, uint64_t> > TRFC_DLR2 = { // { density in GBs, tRFC4(min) in picoseconds } {4, 55000}, @@ -237,7 +237,7 @@ inline fapi2::ReturnCode calc_trfc_dlr(const fapi2::Target<fapi2::TARGET_TYPE_DI // Item No. 1727.58A // pg. 69 - 71 // Table 42 - Refresh parameters by logical rank density - static const std::vector<std::pair<uint8_t, uint64_t> > TRFC_DLR4 = + const std::vector<std::pair<uint8_t, uint64_t> > TRFC_DLR4 = { // { density in GBs, tRFC4(min) in picoseconds } {4, 40000}, |

