diff options
author | Michael Trimarchi <michael@amarulasolutions.com> | 2021-11-17 15:34:56 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-02-19 14:46:54 +0100 |
commit | 9da828c2074e8add2b3f00e7481f8d3b7098de3d (patch) | |
tree | 1c52762f7fdc5ed5a7e4618f34b42c8f528f03b5 /arch | |
parent | c4c3fa98ac032ed2bbf0a1cd2443d8645c4dc2af (diff) | |
download | u-boot-9da828c2074e8add2b3f00e7481f8d3b7098de3d.zip u-boot-9da828c2074e8add2b3f00e7481f8d3b7098de3d.tar.gz u-boot-9da828c2074e8add2b3f00e7481f8d3b7098de3d.tar.bz2 |
imx8m: Drop unused function env_get_offset
This function is used in nxp u-boot tree.
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/imx8m/soc.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index da10676..1a5a391 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -1360,19 +1360,4 @@ enum env_location env_get_location(enum env_operation op, int prio) } } -#ifndef ENV_IS_EMBEDDED -long long env_get_offset(long long defautl_offset) -{ - enum boot_device dev = get_boot_device(); - - switch (dev) { - case NAND_BOOT: - return (60 << 20); /* 60MB offset for NAND */ - default: - break; - } - - return defautl_offset; -} -#endif #endif |