aboutsummaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>2017-06-08 09:56:42 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-08 16:02:06 +1000
commit3c64f79ad2220d03a0af49d44f0548e08da54a44 (patch)
treeb53710618d7624508a548ee4d7f51a70bb661c1e /platforms
parent142d3f196104e60afa34084be17abb0cb77ea4a8 (diff)
downloadskiboot-3c64f79ad2220d03a0af49d44f0548e08da54a44.zip
skiboot-3c64f79ad2220d03a0af49d44f0548e08da54a44.tar.gz
skiboot-3c64f79ad2220d03a0af49d44f0548e08da54a44.tar.bz2
platform/zz: Acknowledge OCC_LOAD mbox message in ZZ
In P9 FSP box, OCC image is pre-loaded. So do not handle the load command and send SUCCESS to FSP on recieving OCC_LOAD mbox message. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/ibm-fsp/zz.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/platforms/ibm-fsp/zz.c b/platforms/ibm-fsp/zz.c
index 89d87b4..c13911f 100644
--- a/platforms/ibm-fsp/zz.c
+++ b/platforms/ibm-fsp/zz.c
@@ -44,10 +44,16 @@ static uint32_t ibm_fsp_occ_timeout(void)
return 60;
}
+static void zz_init(void)
+{
+ hservices_init();
+ ibm_fsp_init();
+}
+
DECLARE_PLATFORM(zz) = {
.name = "ZZ",
.probe = zz_probe,
- .init = ibm_fsp_init,
+ .init = zz_init,
.exit = ibm_fsp_exit,
.cec_power_down = ibm_fsp_cec_power_down,
.cec_reboot = ibm_fsp_cec_reboot,