summaryrefslogtreecommitdiff
path: root/common/bootm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:22:15 -0600
committerTom Rini <trini@konsulko.com>2017-08-16 08:31:11 -0400
commit723806cc5bea9f8b37323dfd7568603f99af6a06 (patch)
tree886eeb28ac54536f60ad0979f9a4404ff4b29bda /common/bootm.c
parent35affd7a2ff9a77b9946bf93b616228fcf218d60 (diff)
env: Rename some other getenv()-related functions
We are now using an env_ prefix for environment functions. Rename these other functions as well, for consistency: getenv_vlan() getenv_bootm_size() getenv_bootm_low() getenv_bootm_mapsize() env_get_default() Suggested-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/bootm.c')
-rw-r--r--common/bootm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bootm.c b/common/bootm.c
index 0856354067..32b3ea8e2d 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -55,8 +55,8 @@ static void boot_start_lmb(bootm_headers_t *images)
lmb_init(&images->lmb);
- mem_start = getenv_bootm_low();
- mem_size = getenv_bootm_size();
+ mem_start = env_get_bootm_low();
+ mem_size = env_get_bootm_size();
lmb_add(&images->lmb, (phys_addr_t)mem_start, mem_size);