[PATCH 1/2] arm: aspeed: Add Romulus BMC-specific early setup
Joel Stanley
joel at jms.id.au
Wed Nov 2 16:55:56 AEDT 2016
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
arch/arm/mach-aspeed/aspeed.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-aspeed/aspeed.c b/arch/arm/mach-aspeed/aspeed.c
index ebb2224dcd13..0a4578290d5e 100644
--- a/arch/arm/mach-aspeed/aspeed.c
+++ b/arch/arm/mach-aspeed/aspeed.c
@@ -214,6 +214,10 @@ static void __init do_zaius_setup(void)
}
}
+static void __init do_romulus_setup(void)
+{
+ do_ast2500_common_setup();
+}
#define SCU_PASSWORD 0x1688A8A8
@@ -262,6 +266,8 @@ static void __init aspeed_init_early(void)
do_witherspoon_setup();
if (of_machine_is_compatible("ingrasys,zaius-bmc"))
do_zaius_setup();
+ if (of_machine_is_compatible("ibm,romulus-bmc"))
+ do_romulus_setup();
}
static void __init aspeed_map_io(void)
--
2.9.3
More information about the openbmc
mailing list