Skip to content

Commit

Permalink
Fix HRMOR scratch reg calculation
Browse files Browse the repository at this point in the history
Fixes brokenness in the HRMOR calculation code temporarily until both FSP
and Hostboot can synchronize changes to always treat the HRMOR as having units
of MB.

Change-Id: Ib11e8805362b102f50bac125398cbdeda38b92cd
CQ: SW436212
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61838
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>
  • Loading branch information
Nick Bofferding authored and wghoffa committed Jul 6, 2018
1 parent d2f43e6 commit 34e69d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootloader/bootloader.C
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ namespace Bootloader{
// our actual image.
KernelMemState::MemState_t l_memstate;
l_memstate.location = KernelMemState::MEM_CONTAINED_L3;
l_memstate.hrmor = getHRMOR() - HBB_RUNNING_ADDR;
l_memstate.hrmor = (HBB_RUNNING_ADDR);
l_memstate.size = KernelMemState::HALF_CACHE;
writeScratchReg(MMIO_SCRATCH_MEMORY_STATE, l_memstate.fullData);

Expand Down

0 comments on commit 34e69d2

Please sign in to comment.