diff options
-rw-r--r-- | platforms/astbmc/palmetto.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/platforms/astbmc/palmetto.c b/platforms/astbmc/palmetto.c index aadb2fc..69f111c 100644 --- a/platforms/astbmc/palmetto.c +++ b/platforms/astbmc/palmetto.c @@ -105,15 +105,8 @@ static const struct slot_table_entry palmetto_phb_table[] = { static bool palmetto_probe(void) { - const char *model; - - if (!dt_node_is_compatible(dt_root, "ibm,powernv")) - return false; - - /* Temporary ... eventually we'll get that in compatible */ - model = dt_prop_get_def(dt_root, "model", NULL); - if ((!model || !strstr(model, "palmetto")) && - (!dt_node_is_compatible(dt_root, "tyan,palmetto"))) + if (!dt_node_is_compatible(dt_root, "ibm,powernv") || + !dt_node_is_compatible(dt_root, "tyan,palmetto")) return false; /* Lot of common early inits here */ |