ibm: Fix mapping of versioned device trees
The Linux mainline device trees align with the latest revision of the
planar. Older versions are carried downstream and have the -p1 suffix.
Update the mapping to reflect this.
Change-Id: I813cb07754aac3c1aaa253a92c881433683792f3
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/ibm_vpd_app.cpp b/ibm_vpd_app.cpp
index ba121cc..1e98a56 100644
--- a/ibm_vpd_app.cpp
+++ b/ibm_vpd_app.cpp
@@ -39,10 +39,10 @@
using namespace phosphor::logging;
static const deviceTreeMap deviceTreeSystemTypeMap = {
- {RAINIER_2U, "conf-aspeed-bmc-ibm-rainier.dtb"},
- {RAINIER_2U_V2, "conf-aspeed-bmc-ibm-rainier-v2.dtb"},
- {RAINIER_4U, "conf-aspeed-bmc-ibm-rainier-4u.dtb"},
- {RAINIER_4U_V2, "conf-aspeed-bmc-ibm-rainier-4u-v2.dtb"},
+ {RAINIER_2U, "conf-aspeed-bmc-ibm-rainier-p1.dtb"},
+ {RAINIER_2U_V2, "conf-aspeed-bmc-ibm-rainier.dtb"},
+ {RAINIER_4U, "conf-aspeed-bmc-ibm-rainier-4u-p1.dtb"},
+ {RAINIER_4U_V2, "conf-aspeed-bmc-ibm-rainier-4u.dtb"},
{RAINIER_1S4U, "conf-aspeed-bmc-ibm-rainier-1s4u.dtb"},
{EVEREST, "conf-aspeed-bmc-ibm-everest.dtb"}};
@@ -1055,4 +1055,4 @@
}
return rc;
-}
\ No newline at end of file
+}