Skip to content

Commit

Permalink
platforms/romulus: Also support talos
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
oohal authored and stewartsmith committed Mar 20, 2019
1 parent bee7be6 commit 1941d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platforms/astbmc/romulus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1941d3f

Please sign in to comment.