[PATCH 4/6] siemens: board: clean up draco products vs common
Sverdlin, Alexander
alexander.sverdlin at siemens.com
Wed Nov 29 09:05:35 CET 2023
Hi Enrico and all,
On Tue, 2023-11-21 at 15:21 +0100, Enrico Leto wrote:
> The common folder was initialially created for the common parts of the
> products based on draco-am355x board family. These are the product
> lines 'pxm2', 'rut' and the base line named 'draco'!
>
> Adding the new capricorn-imx8 board family, common was enhanced without
> cleanup.
>
> Move all am355x specifics to a new file 'board_am335x'.
>
> Signed-off-by: Enrico Leto <enrico.leto at siemens.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin at siemens.com>
> ---
> board/siemens/common/board.c | 54 +++------------------------
> board/siemens/common/board_am335x.c | 58 +++++++++++++++++++++++++++++
> board/siemens/common/board_am335x.h | 38 +++++++++++++++++++
> board/siemens/draco/Makefile | 2 +
> board/siemens/draco/board.c | 10 ++---
> board/siemens/draco/board.h | 32 +++-------------
> board/siemens/draco/mux.c | 2 +-
> board/siemens/pxm2/MAINTAINERS | 2 +-
> board/siemens/pxm2/Makefile | 2 +
> board/siemens/pxm2/board.c | 10 ++---
> board/siemens/pxm2/board.h | 21 -----------
> board/siemens/pxm2/mux.c | 2 +-
> board/siemens/rut/MAINTAINERS | 2 +-
> board/siemens/rut/Makefile | 2 +
> board/siemens/rut/board.c | 10 ++---
> board/siemens/rut/board.h | 21 -----------
> board/siemens/rut/mux.c | 1 +
> 17 files changed, 129 insertions(+), 140 deletions(-)
> create mode 100644 board/siemens/common/board_am335x.c
> create mode 100644 board/siemens/common/board_am335x.h
> delete mode 100644 board/siemens/pxm2/board.h
> delete mode 100644 board/siemens/rut/board.h
--
Alexander Sverdlin
Siemens AG
www.siemens.com
More information about the U-Boot
mailing list