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

Amitay Isaacs amitay at ozlabs.org
Wed May 6 10:48:14 AEST 2020


On Wed, 2020-05-06 at 10:47 +1000, Alistair Popple wrote:
> What's the difference between this and the bmc-kernel backend? I
> guess just 
> that you use the sbefifo for pib access in the bmc-sbefifo case?
> 

Yes. All accesses (except cfam) are via sbefifo.

> - Alistair
> 
> On Thursday, 30 April 2020 1:05:38 PM AEST Amitay Isaacs wrote:
> > 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 {
> 
> 
> 

Amitay.
-- 

Send someone a telegram that reads "Congratulations." Regardless of who he
is, he'll think he's done something the past week to deserve it.



More information about the Pdbg mailing list