From: Philip Oberfichtner <pro@denx.de>
To: u-boot@lists.denx.de
Cc: Marek Vasut <marex@denx.de>,
festevam@denx.de, peng.fan@nxp.com,
Christoph Niedermaier <cniedermaier@dh-electronics.com>,
u-boot@dh-electronics.com, sbabic@denx.de,
Patrice Chotard <patrice.chotard@foss.st.com>,
Simon Glass <sjg@chromium.org>,
Patrick Delaunay <patrick.delaunay@foss.st.com>,
Philip Oberfichtner <pro@denx.de>,
Andreas Geisreiter <ageisreiter@dh-electronics.de>,
Tom Rini <trini@konsulko.com>,
uboot-stm32@st-md-mailman.stormreply.com
Subject: [PATCH v4 0/4] Deduplicate dhelectronics board files
Date: Tue, 26 Jul 2022 15:04:49 +0200 [thread overview]
Message-ID: <20220726130454.2829205-1-pro@denx.de> (raw)
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.
Changes in v4:
- Replace printf() by log_err() in stm32 board file
- stm32 changes reviewed by Patrick
Changes in v3:
- Entire series reviewed by Marek
Changes in v2:
- Tested-by Marek
- convert to livetree (rebase on commit 5a605b7c86152)
- Fix spelling
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 | 65 ++++++++++
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 | 102 +++++++--------
8 files changed, 246 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.37.1
next reply other threads:[~2022-07-26 13:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-26 13:04 Philip Oberfichtner [this message]
2022-07-26 13:04 ` [PATCH v4 1/4] board: dhelectronics: Implement common MAC address functions Philip Oberfichtner
2022-08-13 1:41 ` Tom Rini
2022-07-26 13:04 ` [PATCH v4 2/4] ARM: imx6: DH: Use " Philip Oberfichtner
2022-08-13 1:41 ` Tom Rini
2022-07-26 13:04 ` [PATCH v4 3/4] ARM: imx8: " Philip Oberfichtner
2022-08-13 1:41 ` Tom Rini
2022-07-26 13:04 ` [PATCH v4 4/4] ARM: stm32: " Philip Oberfichtner
2022-08-13 1:41 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220726130454.2829205-1-pro@denx.de \
--to=pro@denx.de \
--cc=ageisreiter@dh-electronics.de \
--cc=cniedermaier@dh-electronics.com \
--cc=festevam@denx.de \
--cc=marex@denx.de \
--cc=patrice.chotard@foss.st.com \
--cc=patrick.delaunay@foss.st.com \
--cc=peng.fan@nxp.com \
--cc=sbabic@denx.de \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@dh-electronics.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-stm32@st-md-mailman.stormreply.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.