[Pdbg] [PATCH v4 08/19] dts: Rename ibm, processor -> ibm, power-proc
Amitay Isaacs
amitay at ozlabs.org
Tue Apr 21 14:16:44 AEST 2020
When using multiple compatible strings, use the generic compatible
string first and specific later.
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
libpdbg/chip.c | 2 +-
p8.dts.m4 | 2 +-
p9.dts | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
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 {
--
2.25.3
More information about the Pdbg
mailing list