Message ID | 20190618072925.5299-7-stewart@linux.ibm.com |
---|---|
State | Accepted |
Headers | show |
Series | FSP code free OPAL | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch master (dbf27b6c4af84addb36bd3be34f96580aba9c873) |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot | fail | Test snowpatch/job/snowpatch-skiboot on branch master |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco | success | Signed-off-by present |
diff --git a/core/init.c b/core/init.c index 9990483a599b..39e3faa3c99a 100644 --- a/core/init.c +++ b/core/init.c @@ -1205,7 +1205,7 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt) * OCC initialisation as late as possible to give it the * maximum time to boot up. */ - if (!fsp_present()) + if (platform.bmc) occ_pstates_init(); pci_nvram_init();
This decouples FSP platform from core skiboot logic by using this small hack that may/may not be a good idea (although is already used elsewhere, so at least we're consistent). Signed-off-by: Stewart Smith <stewart@linux.ibm.com> --- core/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)