summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2019-01-25 10:24:36 -0600
committerWilliam G Hoffa <wghoffa@us.ibm.com>2020-01-07 15:12:28 -0600
commit81abe97b78b39d20bb31e29535885a99ac4a8122 (patch)
tree0972fe957f3078721d065637bc8771ec668af16d /src/usr/isteps
parent4e5e486a18db51d9d5be1aedd63038711b86f3ed (diff)
downloadtalos-hostboot-81abe97b78b39d20bb31e29535885a99ac4a8122.tar.gz
talos-hostboot-81abe97b78b39d20bb31e29535885a99ac4a8122.zip
Support direct load of POWERVM from BOOTKERNEL partition
PowerVM doesn't fit in the PAYLOAD section of PNOR. To enable a common PNOR layout instead put PowerVM into BOOTKERNEL partition, and if PHYP payload, load BOOTKERNEL instead of PAYLOAD PNOR partition Change-Id: Id19f3ce708b537a19256c22aab3cc1b3e83d4ab1 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71677 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com> Reviewed-by: MURULIDHAR NATARAJU <murulidhar@in.ibm.com> Reviewed-by: William G Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/isteps')
-rw-r--r--src/usr/isteps/istep20/call_host_load_payload.C8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/isteps/istep20/call_host_load_payload.C b/src/usr/isteps/istep20/call_host_load_payload.C
index b0b9f3e5c..5190649c9 100644
--- a/src/usr/isteps/istep20/call_host_load_payload.C
+++ b/src/usr/isteps/istep20/call_host_load_payload.C
@@ -120,7 +120,13 @@ void* call_host_load_payload (void *io_pArgs)
// Load payload data in PHYP mode or in Sapphire mode
if(is_sapphire_load() || is_phyp_load())
{
- l_err = load_pnor_section( PNOR::PAYLOAD, payloadBase );
+ PNOR::SectionId l_secID = PNOR::PAYLOAD;
+ if (is_phyp_load())
+ {
+ l_secID = PNOR::BOOTKERNEL;
+ }
+
+ l_err = load_pnor_section( l_secID, payloadBase );
if ( l_err )
{
TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
OpenPOWER on IntegriCloud