mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 14:11:29 +01:00
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 <marex@denx.de> Cc: Adam Ford <aford173@gmail.com> Cc: Fabio Estevam <festevam@denx.de> Cc: Marek Behún <marek.behun@nic.cz> Cc: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Stefano Babic <sbabic@denx.de> Cc: Tim Harvey <tharvey@gateworks.com> Cc: Tom Rini <trini@konsulko.com> Cc: Tommaso Merciai <tomm.merciai@gmail.com> Cc: Vladimir Oltean <vladimir.oltean@nxp.com>
This commit is contained in:
parent
dfb6da55e3
commit
e4dc2d0620
@ -1528,7 +1528,7 @@ void do_error(struct pt_regs *pt_regs)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_IMX8MN) || defined(CONFIG_IMX8MP)
|
#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();
|
enum boot_device dev = get_boot_device();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user