[Skiboot] [PATCH 3/3] Romulus: default to OpenBMC

Stewart Smith stewart at linux.ibm.com
Wed May 16 08:50:41 AEST 2018


Suggested-by: Joseph Reynolds <jrey at us.ibm.com>
Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
 platforms/astbmc/romulus.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/platforms/astbmc/romulus.c b/platforms/astbmc/romulus.c
index 7cdc3b9d3669..357ab30a594b 100644
--- a/platforms/astbmc/romulus.c
+++ b/platforms/astbmc/romulus.c
@@ -74,7 +74,12 @@ DECLARE_PLATFORM(romulus) = {
 	.init			= astbmc_init,
 	.start_preload_resource	= flash_start_preload_resource,
 	.resource_loaded	= flash_resource_loaded,
-	.bmc			= NULL, /* FIXME: Add openBMC */
+	/*
+	 * Defaults to OpenBMC, if there's ever differences on the BMC
+	 * implementation between AMI BMC and OpenBMC, then this'll have
+	 * to get smart
+	 */
+	.bmc			= &astbmc_openbmc,
 	.pci_get_slot_info	= slot_table_get_slot_info,
 	.pci_probe_complete	= check_all_slot_table,
 	.cec_power_down         = astbmc_ipmi_power_down,
-- 
2.14.3



More information about the Skiboot mailing list