diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-06-18 17:29:14 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-06-24 15:59:07 +1000 |
commit | 7a1c727edf31a5c75b55b19a5dd50f5ddeedae54 (patch) | |
tree | 5dfd45c5663784ddd2e289128cebd06772b84cac | |
parent | bfe3f8aa3618abc78a118e46afe5c7d1e915cfa8 (diff) | |
download | skiboot-7a1c727edf31a5c75b55b19a5dd50f5ddeedae54.zip skiboot-7a1c727edf31a5c75b55b19a5dd50f5ddeedae54.tar.gz skiboot-7a1c727edf31a5c75b55b19a5dd50f5ddeedae54.tar.bz2 |
core/init.c: use if (platform.bmc) rather than !fsp_present()
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>
-rw-r--r-- | core/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/init.c b/core/init.c index 9990483..39e3faa 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(); |