summaryrefslogtreecommitdiff
path: root/env/env.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-10-21 21:41:47 -0400
committerTom Rini <trini@konsulko.com>2021-10-21 21:41:47 -0400
commit06685f9de2c1ae37cd015848d245f8a59cbc93dc (patch)
tree5ca4315422f6725caa7b6f77cbc97145e1c6f086 /env/env.c
parentf200a4bcecf1be6d8b546f0eb6af6403c93d80dd (diff)
parentf231566475c545de476a3bf5f596c246c52511aa (diff)
Merge tag 'dm-pull-21oct21' of https://source.denx.de/u-boot/custodians/u-boot-dm
Refactoring of env_get_char() etc. Update buildman to use gcc-11.1.0 Use in-container toolchain for nokia_rx51 CI test # gpg: Signature made Thu 21 Oct 2021 09:34:07 PM EDT # gpg: using RSA key B25C0022AF86A7CC1655B6277F173A3E9008ADE6 # gpg: issuer "sjg@chromium.org" # gpg: Good signature from "Simon Glass <sjg@chromium.org>" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: B25C 0022 AF86 A7CC 1655 B627 7F17 3A3E 9008 ADE6
Diffstat (limited to 'env/env.c')
-rw-r--r--env/env.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/env/env.c b/env/env.c
index e5340080060..e4dfb92e154 100644
--- a/env/env.c
+++ b/env/env.c
@@ -166,19 +166,6 @@ static struct env_driver *env_driver_lookup(enum env_operation op, int prio)
return drv;
}
-__weak int env_get_char_spec(int index)
-{
- return *(uchar *)(gd->env_addr + index);
-}
-
-int env_get_char(int index)
-{
- if (gd->env_valid == ENV_INVALID)
- return default_environment[index];
- else
- return env_get_char_spec(index);
-}
-
int env_load(void)
{
struct env_driver *drv;