From: Tom Rini <trini@konsulko.com>
To: Philip Oberfichtner <pro@denx.de>
Cc: u-boot@lists.denx.de, 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>
Subject: Re: [PATCH v4 1/4] board: dhelectronics: Implement common MAC address functions
Date: Fri, 12 Aug 2022 21:41:22 -0400 [thread overview]
Message-ID: <20220813014122.GH1146598@bill-the-cat> (raw)
In-Reply-To: <20220726130454.2829205-2-pro@denx.de>
[-- Attachment #1: Type: text/plain, Size: 847 bytes --]
On Tue, Jul 26, 2022 at 03:04:50PM +0200, Philip Oberfichtner wrote:
> This is a starting point for unifying duplicate code in the DH board
> files. The functions for setting up MAC addresses are very similar for
> the i.MX6, i.MX8 and stm32mp1 based boards.
>
> All pre-existing implementations follow the same logic:
>
> (1) Check if ethaddr is already set in the environment
> (2) If not, try to get it from a board specific location (e.g. fuse)
> (3) If not, try to get it from eeprom
>
> After this commit, (1) and (3) are implemented as common functions,
> ready to be used by board specific files.
>
> Furthermore there is an implementation of (2) for imx based boards.
>
> Signed-off-by: Philip Oberfichtner <pro@denx.de>
> Reviewed-by: Marek Vasut <marex@denx.de>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2022-08-13 1:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-26 13:04 [PATCH v4 0/4] Deduplicate dhelectronics board files Philip Oberfichtner
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 [this message]
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=20220813014122.GH1146598@bill-the-cat \
--to=trini@konsulko.com \
--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=pro@denx.de \
--cc=sbabic@denx.de \
--cc=sjg@chromium.org \
--cc=u-boot@dh-electronics.com \
--cc=u-boot@lists.denx.de \
/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.