summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-12-17 07:58:49 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-12-17 07:58:49 +1100
commit0efc59a59c36ba778a834fbc3f4d37f0eb38a086 (patch)
treeee4084c261bc4e776c7c4714fdf60fcd07d31a61 /platforms
parent123071788f97a6c1acefbf0841f7d07126ab99ef (diff)
downloadblackbird-skiboot-0efc59a59c36ba778a834fbc3f4d37f0eb38a086.tar.gz
blackbird-skiboot-0efc59a59c36ba778a834fbc3f4d37f0eb38a086.zip
Fix compatible match for palmetto & habanero
The strings should be "tyan,..." not "ibm,..." Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/astbmc/habanero.c2
-rw-r--r--platforms/astbmc/palmetto.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/platforms/astbmc/habanero.c b/platforms/astbmc/habanero.c
index 2a8d0b2a..d442d1f0 100644
--- a/platforms/astbmc/habanero.c
+++ b/platforms/astbmc/habanero.c
@@ -32,7 +32,7 @@ static bool habanero_probe(void)
/* Temporary ... eventually we'll get that in compatible */
model = dt_prop_get_def(dt_root, "model", NULL);
if ((!model || !strstr(model, "habanero")) &&
- (!dt_node_is_compatible(dt_root, "ibm,habanero")))
+ (!dt_node_is_compatible(dt_root, "tyan,habanero")))
return false;
/* Lot of common early inits here */
diff --git a/platforms/astbmc/palmetto.c b/platforms/astbmc/palmetto.c
index 9c8be9fd..a0030e80 100644
--- a/platforms/astbmc/palmetto.c
+++ b/platforms/astbmc/palmetto.c
@@ -33,7 +33,7 @@ static bool palmetto_probe(void)
/* 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, "ibm,palmetto")))
+ (!dt_node_is_compatible(dt_root, "tyan,palmetto")))
return false;
/* Lot of common early inits here */
OpenPOWER on IntegriCloud