[Skiboot] [PATCH] platforms/romulus: Also support talos
Oliver O'Halloran
oohall at gmail.com
Wed Mar 13 17:20:07 AEDT 2019
The two are similar enough and I'd like to have a slot table for our
Talos.
Cc: Timothy Pearson <tpearson at raptorengineering.com>
Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
platforms/astbmc/romulus.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/platforms/astbmc/romulus.c b/platforms/astbmc/romulus.c
index 7bb07cce5363..fbbd33f21c79 100644
--- a/platforms/astbmc/romulus.c
+++ b/platforms/astbmc/romulus.c
@@ -54,7 +54,8 @@ static const struct slot_table_entry romulus_phb_table[] = {
static bool romulus_probe(void)
{
- if (!dt_node_is_compatible(dt_root, "ibm,romulus"))
+ if (!dt_node_is_compatible(dt_root, "ibm,romulus") &&
+ !dt_node_is_compatible(dt_root, "rcs,talos"))
return false;
/* Lot of common early inits here */
--
2.20.1
More information about the Skiboot
mailing list