[Pdbg] [PATCH 05/11] dts: Rename p9-sbefifo to bmc-sbefifo

Amitay Isaacs amitay at ozlabs.org
Thu Apr 30 13:05:38 AEST 2020


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 Makefile.am                             | 2 +-
 p9-sbefifo.dts.m4 => bmc-sbefifo.dts.m4 | 0
 libpdbg/dtb.c                           | 4 ++--
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename p9-sbefifo.dts.m4 => bmc-sbefifo.dts.m4 (100%)

diff --git a/Makefile.am b/Makefile.am
index 4b53c80..64f3e0b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -80,7 +80,7 @@ endif
 DT = fake.dts fake2.dts p8-cronus.dts bmc-cronus.dts \
      p8-fsi.dts p8-i2c.dts p8-kernel.dts \
      p9w-fsi.dts p9r-fsi.dts p9z-fsi.dts bmc-kernel.dts \
-     p9-sbefifo.dts \
+     bmc-sbefifo.dts \
      p8-host.dts p9-host.dts p8.dts
 
 DT_sources = $(DT:.dts=.dtb.S) p9.dtb.S
diff --git a/p9-sbefifo.dts.m4 b/bmc-sbefifo.dts.m4
similarity index 100%
rename from p9-sbefifo.dts.m4
rename to bmc-sbefifo.dts.m4
diff --git a/libpdbg/dtb.c b/libpdbg/dtb.c
index 6a9fc73..5013d96 100644
--- a/libpdbg/dtb.c
+++ b/libpdbg/dtb.c
@@ -43,7 +43,7 @@
 #include "p9-host.dt.h"
 #include "p8-cronus.dt.h"
 #include "bmc-cronus.dt.h"
-#include "p9-sbefifo.dt.h"
+#include "bmc-sbefifo.dt.h"
 
 #include "p8.dt.h"
 #include "p9.dt.h"
@@ -431,7 +431,7 @@ struct pdbg_dtb *pdbg_default_dtb(void *system_fdt)
 
 		if (!strcmp(pdbg_backend_option, "p9")) {
 			if (!dtb->backend.fdt)
-				dtb->backend.fdt = &_binary_p9_sbefifo_dtb_o_start;
+				dtb->backend.fdt = &_binary_bmc_sbefifo_dtb_o_start;
 			if (!dtb->system.fdt)
 				dtb->system.fdt = &_binary_p9_dtb_o_start;
 		} else {
-- 
2.25.4



More information about the Pdbg mailing list