diff options
Diffstat (limited to 'src/usr/hwpf/hwp/dram_initialization')
-rw-r--r-- | src/usr/hwpf/hwp/dram_initialization/dram_initialization.C | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/hwpf/hwp/dram_initialization/dram_initialization.C b/src/usr/hwpf/hwp/dram_initialization/dram_initialization.C index b5e5e26ab..905df419a 100644 --- a/src/usr/hwpf/hwp/dram_initialization/dram_initialization.C +++ b/src/usr/hwpf/hwp/dram_initialization/dram_initialization.C @@ -847,6 +847,14 @@ void* call_proc_exit_cache_contained( void *io_pArgs ) true); // callout firmware } } + // If we're not mirrored, payloadBase is the lowest mem_base. + // Note that if we are mirrored, finding the correct mirror + // base yields the proper payloadBase. This should also work + // for sapphire as a single (working) node will return 0 for + // bottom_mem_addr. + else { + payloadBase += get_bottom_mem_addr()/MEGABYTE; + } } if(!l_errl) |