From: Tommaso Merciai <tomm.merciai@gmail.com>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: "michael@amarulasolutions.com" <michael@amarulasolutions.com>,
"Stefano Babic" <sbabic@denx.de>,
"Fabio Estevam" <festevam@gmail.com>,
dl-uboot-imx <uboot-imx@nxp.com>, "Peng Fan" <peng.fan@nxp.com>,
"Ye Li" <ye.li@nxp.com>, "Simon Glass" <sjg@chromium.org>,
"Marek Vasut" <marex@denx.de>,
"Frieder Schrempf" <frieder.schrempf@kontron.de>,
"Marek Behún" <marek.behun@nic.cz>,
"Ying-Chun Liu (PaulLiu)" <paulliu@debian.org>,
"u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: Re: [RFC PATCH v2 0/3] imx8m: move env_get_location for imx8mn and imx8mp at board level
Date: Thu, 23 Dec 2021 22:49:38 +0100 [thread overview]
Message-ID: <20211223214938.GA7322@tom-desktop> (raw)
In-Reply-To: <5000444e-19f1-c0ce-3a4a-afdc027e4e7d@oss.nxp.com>
On Sun, Dec 19, 2021 at 10:11:44AM +0800, Peng Fan (OSS) wrote:
>
>
> On 2021/12/1 4:17, Tommaso Merciai wrote:
> > This series move env_get_location from soc to board level. As suggested
> > by Michael <michael@amarulasolutions.com> make no sense to define an
> > unique way for multiple board. One board can boot from emmc and having
> > env on spi flash etc.. Anyways, this function is kept in both imx8mn
> > and imx8mp evk boards instead of being completely dropped.
> > (as suggested by Andrey <andrey.zhizhikin@leica-geosystems.com>)
>
> If there are other i.MX8MN/P boards already uses the function, move
> it to i.mx8mn/p_evk would break other boards. If i.MX8MN/P evk are
> the other users, it should be ok to move the board code.
Hi Peng,
Maybe declare it as __weak in soc.c and ovverride it a board level can
be a valid solution?
Let me know.
thanks.
tommaso
>
> Regards,
> Peng.
>
> >
> > Tommaso Merciai (3):
> > imx8m: drop env_get_location for imx8mn and imx8mp
> > imx: imx8mn_evk: override env_get_location
> > imx: imx8mp_evk: override env_get_location
> >
> > arch/arm/mach-imx/imx8m/soc.c | 39 -------------------------
> > board/freescale/imx8mn_evk/imx8mn_evk.c | 35 ++++++++++++++++++++++
> > board/freescale/imx8mp_evk/imx8mp_evk.c | 34 +++++++++++++++++++++
> > 3 files changed, 69 insertions(+), 39 deletions(-)
> >
next prev parent reply other threads:[~2021-12-23 21:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-30 20:17 [RFC PATCH v2 0/3] imx8m: move env_get_location for imx8mn and imx8mp at board level Tommaso Merciai
2021-11-30 20:17 ` [RFC PATCH v2 1/3] imx8m: drop env_get_location for imx8mn and imx8mp Tommaso Merciai
2021-11-30 20:17 ` [RFC PATCH v2 2/3] imx: imx8mn_evk: override env_get_location Tommaso Merciai
2021-11-30 20:17 ` [RFC PATCH v2 3/3] imx: imx8mp_evk: " Tommaso Merciai
2021-12-19 2:11 ` [RFC PATCH v2 0/3] imx8m: move env_get_location for imx8mn and imx8mp at board level Peng Fan (OSS)
2021-12-23 21:49 ` Tommaso Merciai [this message]
2021-12-25 19:02 ` Tommaso Merciai
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=20211223214938.GA7322@tom-desktop \
--to=tomm.merciai@gmail.com \
--cc=festevam@gmail.com \
--cc=frieder.schrempf@kontron.de \
--cc=marek.behun@nic.cz \
--cc=marex@denx.de \
--cc=michael@amarulasolutions.com \
--cc=paulliu@debian.org \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=sbabic@denx.de \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.com \
--cc=ye.li@nxp.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.