[Skiboot] [PATCH v3] platform/astbmc: Do not delete compatible property

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Sun Apr 2 19:00:40 AEST 2017

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 at ozlabs.org>
CC: Ananth N Mavinakayanahalli <ananth at linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
 platforms/astbmc/common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c
index 6f29e61..3fad2d4 100644
--- a/platforms/astbmc/common.c
+++ b/platforms/astbmc/common.c
@@ -336,7 +336,8 @@ static void astbmc_fixup_dt(void)
 	   make sure we have one. */
-	astbmc_fixup_bmc_sensors();
+	if (proc_gen == proc_gen_p8)
+		astbmc_fixup_bmc_sensors();
 static void astbmc_fixup_psi_bar(void)

More information about the Skiboot mailing list