diff mbox series

[v5,08/19] dts: Rename ibm, processor -> ibm, power-proc

Message ID 20200430023440.225504-9-amitay@ozlabs.org
State Accepted
Headers show
Series Add sbefifo backend | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch warning Failed to apply on branch master (6c10b68bf774a9fe21affd5ef0b40084cd49800d)
snowpatch_ozlabs/apply_patch fail Failed to apply to any branch

Commit Message

Amitay Isaacs April 30, 2020, 2:34 a.m. UTC
When using multiple compatible strings, use the generic compatible
string first and specific later.

Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
Reviewed-by: Alistair Popple <alistair@popple.id.au>
---
 libpdbg/chip.c | 2 +-
 p8.dts.m4      | 2 +-
 p9.dts         | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/libpdbg/chip.c b/libpdbg/chip.c
index b961e87..848a831 100644
--- a/libpdbg/chip.c
+++ b/libpdbg/chip.c
@@ -670,7 +670,7 @@  int thread_getregs(struct pdbg_target *thread, struct thread_regs *regs)
 static struct proc proc = {
 	.target = {
 		.name = "Processor Module",
-		.compatible = "ibm,processor",
+		.compatible = "ibm,power-proc",
 		.class = "proc",
 	},
 };
diff --git a/p8.dts.m4 b/p8.dts.m4
index a508e02..754987a 100644
--- a/p8.dts.m4
+++ b/p8.dts.m4
@@ -1,7 +1,7 @@ 
 define(`PROC',`
 define(`PROC_ID',`$1')dnl
 	proc$1 {
-		compatible = "ibm,power8-proc", "ibm,processor";
+		compatible = "ibm,power-proc", "ibm,power8-proc";
 		index = <$1>;
 
 		fsi {
diff --git a/p9.dts b/p9.dts
index 2d3fed2..6620b54 100644
--- a/p9.dts
+++ b/p9.dts
@@ -7,7 +7,7 @@ 
 	};
 
 	proc0 {
-		compatible = "ibm,power9-proc", "ibm,processor";
+		compatible = "ibm,power-proc", "ibm,power9-proc";
 		index = < 0x00 >;
 
 		fsi {
@@ -1723,7 +1723,7 @@ 
 	};
 
 	proc1 {
-		compatible = "ibm,power9-proc", "ibm,processor";
+		compatible = "ibm,power-proc", "ibm,power9-proc";
 		index = < 0x01 >;
 
 		fsi {