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

Gedare Bloom gedare at rtems.org
Tue Jun 29 16:22:19 UTC 2021


Jan, please confirm. Thanks

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