[PATCH] bsps/cadence-spi: Fix moduleid offset

Jan.Sommer at dlr.de Jan.Sommer at dlr.de
Tue Jun 29 19:43:52 UTC 2021



> -----Original Message-----
> From: Gedare Bloom <gedare at rtems.org>
> Sent: Tuesday, June 29, 2021 6:22 PM
> To: Kinsey Moore <kinsey.moore at oarcorp.com>; Sommer, Jan
> <Jan.Sommer at dlr.de>
> Cc: devel at rtems.org
> Subject: Re: [PATCH] bsps/cadence-spi: Fix moduleid offset
> 
> Jan, please confirm. Thanks
> 

Looks good to me.

Thanks,

    Jan

> On Mon, Jun 28, 2021 at 7:06 AM Kinsey Moore
> <kinsey.moore at oarcorp.com> wrote:
> >
> > Move the moduleid register to the correct offset according to Cadence
> > IP documentation.
> > ---
> >  bsps/include/dev/spi/cadence-spi-regs.h | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/bsps/include/dev/spi/cadence-spi-regs.h
> > b/bsps/include/dev/spi/cadence-spi-regs.h
> > index b4b2366b3d..207d056fb1 100644
> > --- a/bsps/include/dev/spi/cadence-spi-regs.h
> > +++ b/bsps/include/dev/spi/cadence-spi-regs.h
> > @@ -78,6 +78,7 @@ typedef struct {
> >         uint32_t slave_idle_count;
> >         uint32_t txthreshold;
> >         uint32_t rxthreshold;
> > +       uint32_t unused[51];
> >         uint32_t moduleid;
> >  } cadence_spi;
> >
> > --
> > 2.20.1
> >
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list