diff options
| author | Marek Vasut <[email protected]> | 2022-04-06 02:21:34 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-21 09:08:41 -0400 |
| commit | e4dc2d0620851d6e0e784d4ef0a50f26e1e73857 (patch) | |
| tree | 383ad5ece832d9f56719fd7b41cb6b8f58acf555 | |
| parent | dfb6da55e3eb7f267519aba75c65bb80fea9f8f1 (diff) | |
ARM: imx: imx8m: env: Switch to arch_env_get_location()
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 <[email protected]>
Cc: Adam Ford <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Marek BehĂșn <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Tommaso Merciai <[email protected]>
Cc: Vladimir Oltean <[email protected]>
| -rw-r--r-- | arch/arm/mach-imx/imx8m/soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index 8171631db10..7059d87e336 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -1528,7 +1528,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(); |
