* [PATCH] imx8m: Drop unused function env_get_offset
@ 2021-11-17 14:34 Michael Trimarchi
2021-11-17 14:45 ` Fabio Estevam
2022-02-19 13:07 ` sbabic
0 siblings, 2 replies; 3+ messages in thread
From: Michael Trimarchi @ 2021-11-17 14:34 UTC (permalink / raw)
To: Ye Li, Stefano Babic, Fabio Estevam
Cc: u-boot, Ariel D'Alessandro, linux-amarula, Anthony Brandon
This function is used in nxp u-boot tree.
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
arch/arm/mach-imx/imx8m/soc.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index 863508776d..e75d2fa255 100644
--- a/arch/arm/mach-imx/imx8m/soc.c
+++ b/arch/arm/mach-imx/imx8m/soc.c
@@ -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
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] imx8m: Drop unused function env_get_offset
2021-11-17 14:34 [PATCH] imx8m: Drop unused function env_get_offset Michael Trimarchi
@ 2021-11-17 14:45 ` Fabio Estevam
2022-02-19 13:07 ` sbabic
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2021-11-17 14:45 UTC (permalink / raw)
To: Michael Trimarchi
Cc: Ye Li, Stefano Babic, U-Boot-Denx, Ariel D'Alessandro,
linux-amarula, Anthony Brandon
Hi Michael,
On Wed, Nov 17, 2021 at 11:35 AM Michael Trimarchi
<michael@amarulasolutions.com> wrote:
>
> This function is used in nxp u-boot tree.
>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Correct, this is unused in U-Boot mainline:
Reviewed-by: Fabio Estevam <festevam@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] imx8m: Drop unused function env_get_offset
2021-11-17 14:34 [PATCH] imx8m: Drop unused function env_get_offset Michael Trimarchi
2021-11-17 14:45 ` Fabio Estevam
@ 2022-02-19 13:07 ` sbabic
1 sibling, 0 replies; 3+ messages in thread
From: sbabic @ 2022-02-19 13:07 UTC (permalink / raw)
To: Michael Trimarchi, u-boot
> This function is used in nxp u-boot tree.
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
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: sbabic@denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-19 13:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-17 14:34 [PATCH] imx8m: Drop unused function env_get_offset Michael Trimarchi
2021-11-17 14:45 ` Fabio Estevam
2022-02-19 13:07 ` sbabic
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.