git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4c3fa9
)
imx8m: Drop unused function env_get_offset
author
Michael Trimarchi
<michael@amarulasolutions.com>
Wed, 17 Nov 2021 14:34:56 +0000
(15:34 +0100)
committer
Stefano Babic
<sbabic@denx.de>
Sat, 19 Feb 2022 13:46:54 +0000
(14:46 +0100)
This function is used in nxp u-boot tree.
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/mach-imx/imx8m/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx8m/soc.c
b/arch/arm/mach-imx/imx8m/soc.c
index
da10676
..
1a5a391
100644
(file)
--- 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