aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-03-13 17:20:07 +1100
committerStewart Smith <stewart@linux.ibm.com>2019-03-20 14:27:08 +1100
commit1941d3f26373677c4e3efe8d242160be219963df (patch)
tree114f799af1a7ed51e07f973c5ea094a36b89eba2
parentbee7be6ab780a3bf51feb66a8a86cb9ff1bd7775 (diff)
downloadskiboot-1941d3f26373677c4e3efe8d242160be219963df.zip
skiboot-1941d3f26373677c4e3efe8d242160be219963df.tar.gz
skiboot-1941d3f26373677c4e3efe8d242160be219963df.tar.bz2
platforms/romulus: Also support talos
The two are similar enough and I'd like to have a slot table for our Talos. Cc: Timothy Pearson <tpearson@raptorengineering.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--platforms/astbmc/romulus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/platforms/astbmc/romulus.c b/platforms/astbmc/romulus.c
index 7bb07cc..fbbd33f 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 */