diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2008-04-18 12:39:23 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-24 17:21:55 +0200 |
commit | edbed247a14d70b94958010f736621212285de91 (patch) | |
tree | 9a12403755db2dfe959f5b0133b05bc69d0db4f5 /common/cmd_bootm.c | |
parent | 0a0b606faaec4afb3f750b09aa4df1e40a39dcb8 (diff) | |
download | u-boot-imx-edbed247a14d70b94958010f736621212285de91.zip u-boot-imx-edbed247a14d70b94958010f736621212285de91.tar.gz u-boot-imx-edbed247a14d70b94958010f736621212285de91.tar.bz2 |
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_bootm.c')
-rw-r--r-- | common/cmd_bootm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index ae9c21b..44f6b9f 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -132,8 +132,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) struct lmb lmb; memset ((void *)&images, 0, sizeof (images)); - images.verify = getenv_verify(); - images.autostart = getenv_autostart(); + images.verify = getenv_yesno ("verify"); + images.autostart = getenv_yesno ("autostart"); images.lmb = &lmb; lmb_init(&lmb); |