diff options
| author | Christian Geddes <crgeddes@us.ibm.com> | 2019-06-21 16:11:32 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-06-26 16:45:21 -0500 |
| commit | 3805319f1d630c6bc9c022b3e9eeb601aa3ffbf4 (patch) | |
| tree | 0d5327e039f273391bfc9b20269968a683b6bd14 /src/build/simics | |
| parent | 6fccf28881ecc8adb2c6f1ed877e1f41967ab8a6 (diff) | |
| download | talos-hostboot-3805319f1d630c6bc9c022b3e9eeb601aa3ffbf4.tar.gz talos-hostboot-3805319f1d630c6bc9c022b3e9eeb601aa3ffbf4.zip | |
Add HCDB Support for eeprom cache process
While parsing the EEPROMs of the system as part of the EECACHE process
if we detect a part has been replaced, removed, or added then we must
call markTargetChanged to notify hwas to take appropriate actions.
This commit also introduces the new preloaded EECACHE section for simics.
Change-Id: I9f2a8a62d5c6f9a6c66a0c0c7ed5ed86f7d94aec
RTC: 211109
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78762
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/simics')
| -rwxr-xr-x | src/build/simics/standalone.simics | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/build/simics/standalone.simics b/src/build/simics/standalone.simics index 0548c1b0e..b67d0a660 100755 --- a/src/build/simics/standalone.simics +++ b/src/build/simics/standalone.simics @@ -54,6 +54,13 @@ if ($hb_skip_vpd_preload == 0) { } except { echo "ERROR: Failed to preload VPD into PNOR." } } +if ($hb_mode == 0) { + $eccPreload = (lookup-file "%simics%/eecache_prebuilt.bin.ecc") + # NOTE must change offset if PNOR layout changes EECACHE offsets + echo " - Loading prebuilt EECACHE "+$eccPreload+" at 0x3E33000 in PNOR" + ($hb_pnor).load-file $eccPreload 0x3E33000 +} + # Turn on all processor cec-chips if ($hb_mode == 1) { |

