U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: imx: imx95: Use arch override for env_get_location()
@ 2026-02-28 10:09 Sébastien Szymanski
  2026-02-28 11:49 ` Peng Fan
  2026-02-28 13:28 ` Marek Vasut
  0 siblings, 2 replies; 3+ messages in thread
From: Sébastien Szymanski @ 2026-02-28 10:09 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot
  Cc: Stefano Babic, Fabio Estevam, Tom Rini, Peng Fan, Ye Li,
	Alice Guo, Marek Vasut, Ranjani Vaidyanathan, Rasmus Villemoes,
	João Paulo Gonçalves, Sébastien Szymanski

Like commit b9e48705e0b6 ("arm: imx: imx9: Use arch override for
env_get_location()"), use arch-level implementation here so that
env_get_location() can be used on board-level.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
---
 arch/arm/mach-imx/imx9/scmi/soc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/imx9/scmi/soc.c b/arch/arm/mach-imx/imx9/scmi/soc.c
index c1458ccca3c3..17269ddd2fc4 100644
--- a/arch/arm/mach-imx/imx9/scmi/soc.c
+++ b/arch/arm/mach-imx/imx9/scmi/soc.c
@@ -820,7 +820,7 @@ int timer_init(void)
 	return 0;
 }
 
-enum env_location env_get_location(enum env_operation op, int prio)
+enum env_location arch_env_get_location(enum env_operation op, int prio)
 {
 	enum boot_device dev = get_boot_device();
 	enum env_location env_loc = ENVL_UNKNOWN;

---
base-commit: 437ea9f8be5afaebe2d8cbab6242f1182857f21e
change-id: 20260227-imx95-arch-location-5e847e694e20

Best regards,
-- 
Sébastien Szymanski <sebastien.szymanski@armadeus.com>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm: imx: imx95: Use arch override for env_get_location()
  2026-02-28 10:09 [PATCH] arm: imx: imx95: Use arch override for env_get_location() Sébastien Szymanski
@ 2026-02-28 11:49 ` Peng Fan
  2026-02-28 13:28 ` Marek Vasut
  1 sibling, 0 replies; 3+ messages in thread
From: Peng Fan @ 2026-02-28 11:49 UTC (permalink / raw)
  To: Sébastien Szymanski
  Cc: NXP i.MX U-Boot Team, u-boot, Stefano Babic, Fabio Estevam,
	Tom Rini, Peng Fan, Ye Li, Alice Guo, Marek Vasut,
	Ranjani Vaidyanathan, Rasmus Villemoes,
	João Paulo Gonçalves

On Sat, Feb 28, 2026 at 11:09:51AM +0100, Sébastien Szymanski wrote:
>Like commit b9e48705e0b6 ("arm: imx: imx9: Use arch override for
>env_get_location()"), use arch-level implementation here so that
>env_get_location() can be used on board-level.
>
>Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm: imx: imx95: Use arch override for env_get_location()
  2026-02-28 10:09 [PATCH] arm: imx: imx95: Use arch override for env_get_location() Sébastien Szymanski
  2026-02-28 11:49 ` Peng Fan
@ 2026-02-28 13:28 ` Marek Vasut
  1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2026-02-28 13:28 UTC (permalink / raw)
  To: Sébastien Szymanski, NXP i.MX U-Boot Team, u-boot
  Cc: Stefano Babic, Fabio Estevam, Tom Rini, Peng Fan, Ye Li,
	Alice Guo, Ranjani Vaidyanathan, Rasmus Villemoes,
	João Paulo Gonçalves

On 2/28/26 11:09 AM, Sébastien Szymanski wrote:
> Like commit b9e48705e0b6 ("arm: imx: imx9: Use arch override for
> env_get_location()"), use arch-level implementation here so that
> env_get_location() can be used on board-level.

Excellent.

Reviewed-by: Marek Vasut <marek.vasut@mailbox.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-28 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-28 10:09 [PATCH] arm: imx: imx95: Use arch override for env_get_location() Sébastien Szymanski
2026-02-28 11:49 ` Peng Fan
2026-02-28 13:28 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox