From: Michael Trimarchi <michael@amarulasolutions.com>
To: Ye Li <ye.li@nxp.com>, Stefano Babic <sbabic@denx.de>,
Fabio Estevam <festevam@gmail.com>
Cc: u-boot@lists.denx.de,
Ariel D'Alessandro <ariel.dalessandro@collabora.com>,
linux-amarula@amarulasolutions.com,
Anthony Brandon <anthony@amarulasolutions.com>
Subject: [PATCH] imx8m: Drop unused function env_get_offset
Date: Wed, 17 Nov 2021 15:34:56 +0100 [thread overview]
Message-ID: <20211117143456.34441-1-michael@amarulasolutions.com> (raw)
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
next reply other threads:[~2021-11-17 14:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 14:34 Michael Trimarchi [this message]
2021-11-17 14:45 ` [PATCH] imx8m: Drop unused function env_get_offset Fabio Estevam
2022-02-19 13:07 ` sbabic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211117143456.34441-1-michael@amarulasolutions.com \
--to=michael@amarulasolutions.com \
--cc=anthony@amarulasolutions.com \
--cc=ariel.dalessandro@collabora.com \
--cc=festevam@gmail.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
--cc=ye.li@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.