imx8m: Drop unused function env_get_offset
Subsystems (3)
PATCH 1/1 imx8m: Drop unused function env_get_offset
This function is used in nxp u-boot tree.
Signed-off-by Michael Trimarchi <[email protected]>
--- arch/arm/mach-imx/imx8m/soc.c | 15 --------------- 1 file changed, 15 deletions(-)
arch/arm/mach-imx/imx8m/soc.c +0 -15
@@ -1352,19 +1352,4 @@ enum env_location env_get_location(enum env_operation op, int prio) return env_loc; } -#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
Signature · 1 line
2.25.1
Hi Michael,
Quoted 4 lines · Michael Trimarchi
This function is used in nxp u-boot tree.
Signed-off-by Michael Trimarchi <[email protected]>
Correct, this is unused in U-Boot mainline:
Reviewed-by Fabio Estevam <[email protected]>
PATCH 1/1 imx8m: Drop unused function env_get_offset
In reply to Michael TrimarchiQuoted 3 lines
This function is used in nxp u-boot tree.
Signed-off-by Michael Trimarchi <[email protected]>Reviewed-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================