[U-Boot] [RFC PATCH 13/29] arch: include: octeontx: add headers for OcteonTX

Simon Glass sjg at chromium.org
Wed Nov 20 03:00:23 UTC 2019


Hi,

On Tue, 29 Oct 2019 at 14:08, Suneel Garapati <suneelglinux at gmail.com> wrote:
>
> From: Suneel Garapati <sgarapati at marvell.com>
>
> Signed-off-by: Suneel Garapati <sgarapati at marvell.com>
> ---
>  arch/arm/include/asm/arch-octeontx/board.h    |  121 ++
>  arch/arm/include/asm/arch-octeontx/clock.h    |   25 +
>  .../asm/arch-octeontx/csrs/csrs-mio_emm.h     | 1193 +++++++++++++++++
>  .../include/asm/arch-octeontx/csrs/csrs-xcv.h |  428 ++++++
>  arch/arm/include/asm/arch-octeontx/gpio.h     |    6 +
>  arch/arm/include/asm/arch-octeontx/smc.h      |   20 +
>  arch/arm/include/asm/arch-octeontx/soc.h      |   31 +
>  7 files changed, 1824 insertions(+)
>  create mode 100644 arch/arm/include/asm/arch-octeontx/board.h
>  create mode 100644 arch/arm/include/asm/arch-octeontx/clock.h
>  create mode 100644 arch/arm/include/asm/arch-octeontx/csrs/csrs-mio_emm.h
>  create mode 100644 arch/arm/include/asm/arch-octeontx/csrs/csrs-xcv.h
>  create mode 100644 arch/arm/include/asm/arch-octeontx/gpio.h
>  create mode 100644 arch/arm/include/asm/arch-octeontx/smc.h
>  create mode 100644 arch/arm/include/asm/arch-octeontx/soc.h
>

I think we try to avoid bitfields, but I'm not sure if there is a
rule, and this is arch-specific code.

+Tom Rini who will know

Please remember to comment your structs and members.

Regards,
SImon


More information about the U-Boot mailing list