[PATCH 3/3] ARM: imx: imx8m: env: Switch to arch_env_get_location()
Marek Vasut
marex at denx.de
Wed Apr 6 02:21:34 CEST 2022
Implement arch_env_get_location() instead of env_get_location(), so that
the env_get_location() can be implemented on board level and override the
arch_env_get_location() architecture defaults.
Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Adam Ford <aford173 at gmail.com>
Cc: Fabio Estevam <festevam at denx.de>
Cc: Marek Behún <marek.behun at nic.cz>
Cc: Peng Fan <peng.fan at nxp.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Tim Harvey <tharvey at gateworks.com>
Cc: Tom Rini <trini at konsulko.com>
Cc: Tommaso Merciai <tomm.merciai at gmail.com>
Cc: Vladimir Oltean <vladimir.oltean at nxp.com>
---
arch/arm/mach-imx/imx8m/soc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index fc29208af29..ea6cbf2c3f0 100644
--- a/arch/arm/mach-imx/imx8m/soc.c
+++ b/arch/arm/mach-imx/imx8m/soc.c
@@ -1314,7 +1314,7 @@ void do_error(struct pt_regs *pt_regs)
#endif
#if defined(CONFIG_IMX8MN) || defined(CONFIG_IMX8MP)
-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();
--
2.35.1
More information about the U-Boot
mailing list