summaryrefslogtreecommitdiff
path: root/common/cmd_autoscript.c
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2008-04-18 12:39:23 +0200
committerWolfgang Denk <wd@denx.de>2008-04-24 17:21:55 +0200
commitedbed247a14d70b94958010f736621212285de91 (patch)
tree9a12403755db2dfe959f5b0133b05bc69d0db4f5 /common/cmd_autoscript.c
parent0a0b606faaec4afb3f750b09aa4df1e40a39dcb8 (diff)
downloadu-boot-edbed247a14d70b94958010f736621212285de91.tar.gz
u-boot-edbed247a14d70b94958010f736621212285de91.tar.bz2
u-boot-edbed247a14d70b94958010f736621212285de91.zip
Memory footprint optimizations
As suggested by Wolfgang Denk: - image printing functions: - remove wrappers - remove indentation prefix from functions' signatures - merge getenv_verify and getenv_autostart into one parametrized function Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'common/cmd_autoscript.c')
-rw-r--r--common/cmd_autoscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_autoscript.c b/common/cmd_autoscript.c
index 1a37b90d79..932f6388ff 100644
--- a/common/cmd_autoscript.c
+++ b/common/cmd_autoscript.c
@@ -65,7 +65,7 @@ autoscript (ulong addr, const char *fit_uname)
size_t fit_len;
#endif
- verify = getenv_verify ();
+ verify = getenv_yesno ("verify");
switch (genimg_get_format ((void *)addr)) {
case IMAGE_FORMAT_LEGACY: