[PATCH 0/4] Deduplicate dhelectronics board files
Philip Oberfichtner
pro at denx.de
Mon Jul 4 13:11:02 CEST 2022
This series unifies common mac address code for imx6, imx8 and stm32
based boards by DH. It is thought of as a starting point for more
deduplication in the future.
Philip Oberfichtner (4):
board: dhelectronics: Implement common mac address functions
ARM: imx6: DH: Use common mac address functions
ARM: imx8: DH: Use common mac address functions
ARM: stm32: DH: Use common mac address functions
board/dhelectronics/common/Makefile | 10 ++
board/dhelectronics/common/dh_common.c | 64 +++++++++
board/dhelectronics/common/dh_common.h | 28 ++++
board/dhelectronics/common/dh_imx.c | 24 ++++
board/dhelectronics/common/dh_imx.h | 12 ++
board/dhelectronics/dh_imx6/dh_imx6.c | 47 ++-----
.../dh_imx8mp/imx8mp_dhcom_pdk2.c | 121 +++++++-----------
board/dhelectronics/dh_stm32mp1/board.c | 104 +++++++--------
8 files changed, 247 insertions(+), 163 deletions(-)
create mode 100644 board/dhelectronics/common/Makefile
create mode 100644 board/dhelectronics/common/dh_common.c
create mode 100644 board/dhelectronics/common/dh_common.h
create mode 100644 board/dhelectronics/common/dh_imx.c
create mode 100644 board/dhelectronics/common/dh_imx.h
--
2.35.3
More information about the U-Boot
mailing list