aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-04-02 14:30:40 +0530
committerStewart Smith <stewart@linux.ibm.com>2018-05-24 04:03:20 -0500
commitbb0079ea8490cbc138b9d14da30051cc0dabd381 (patch)
tree0cd0b651769c88ee513e03b8200f29b980464c9e
parent8cbe91569112a7ee5b741fcdee72f8195fdbb59b (diff)
downloadskiboot-bb0079ea8490cbc138b9d14da30051cc0dabd381.zip
skiboot-bb0079ea8490cbc138b9d14da30051cc0dabd381.tar.gz
skiboot-bb0079ea8490cbc138b9d14da30051cc0dabd381.tar.bz2
platform/astbmc: Do not delete compatible property
P9 onwards OPAL is building device tree for BMC based system using HDAT. We are populating bmc/compatible node with bmc version. Hence do not delete this property. CC: Jeremy Kerr <jk@ozlabs.org> CC: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Acked-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--platforms/astbmc/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c
index 470ab5d..30c2714 100644
--- a/platforms/astbmc/common.c
+++ b/platforms/astbmc/common.c
@@ -348,7 +348,8 @@ static void astbmc_fixup_dt(void)
make sure we have one. */
astbmc_fixup_dt_system_id();
- astbmc_fixup_bmc_sensors();
+ if (proc_gen == proc_gen_p8)
+ astbmc_fixup_bmc_sensors();
}
static void astbmc_fixup_psi_bar(void)