[PATCH v4 0/6] board: siemens: clean up subfolders
Enrico Leto
enrico.leto at siemens.com
Wed Jan 3 14:31:48 CET 2024
This serie depends on the serie:
[PATCH 0/6] siemens,am335x: clean up the draco board family
The common folder was initialially created for the common parts of
the products based on draco-am355x board family. We have the
product lines 'pxm2', 'rut' and the base line unfortunately named
'draco'! Adding the new capricorn-imx8 board family, the files
were enhanced without cleanup.
Simplify first EEPROM probe and access that implements both i2c
with & without driver model. Use abstraction functions for this.
Move all am355x specifics to a new file 'board_am335x'.
Clean-up includes, config checks, maintainer.
Signed-off-by: Enrico Leto <enrico.leto at siemens.com>
---
Changes for v2:
- fix wrong value in CONFIG_IS_ENABLED
Changes for v3:
- rebased to the top of next branch
Changes for v4:
- remove compiler errors
- fix patch style checks
Enrico Leto (6):
siemens: eeprom: clean up definitions
siemens: eeprom: simplify setup & read
siemens draco: i2c: use driver model for u-boot
siemens: board: clean up draco products vs common
siemens: board: clean up includes
siemens: factoryset: use correct config for soc specific
implementation
board/siemens/capricorn/board.c | 5 +-
board/siemens/common/board.c | 110 ++++++++++++----------------
board/siemens/common/board.h | 24 ++++++
board/siemens/common/board_am335x.c | 58 +++++++++++++++
board/siemens/common/board_am335x.h | 38 ++++++++++
board/siemens/common/factoryset.c | 87 +++++-----------------
board/siemens/draco/Makefile | 2 +
board/siemens/draco/board.c | 62 +++++-----------
board/siemens/draco/board.h | 32 ++------
board/siemens/draco/mux.c | 6 +-
board/siemens/pxm2/MAINTAINERS | 2 +-
board/siemens/pxm2/Makefile | 2 +
board/siemens/pxm2/board.c | 34 +++------
board/siemens/pxm2/board.h | 21 ------
board/siemens/pxm2/mux.c | 6 +-
board/siemens/rut/MAINTAINERS | 2 +-
board/siemens/rut/Makefile | 2 +
board/siemens/rut/board.c | 33 ++-------
board/siemens/rut/board.h | 21 ------
board/siemens/rut/mux.c | 5 +-
configs/draco-etamin_defconfig | 4 +-
configs/draco-rastaban_defconfig | 4 +-
configs/draco-thuban_defconfig | 4 +-
include/configs/draco-etamin.h | 3 -
include/configs/draco-rastaban.h | 3 -
include/configs/draco-thuban.h | 3 -
26 files changed, 249 insertions(+), 324 deletions(-)
create mode 100644 board/siemens/common/board.h
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
--
2.30.2
More information about the U-Boot
mailing list