summaryrefslogtreecommitdiff
path: root/board/siemens
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 /board/siemens
parent0a0b606faaec4afb3f750b09aa4df1e40a39dcb8 (diff)
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 'board/siemens')
-rw-r--r--board/siemens/common/fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/siemens/common/fpga.c b/board/siemens/common/fpga.c
index 48c185082f8..ac0022e7b13 100644
--- a/board/siemens/common/fpga.c
+++ b/board/siemens/common/fpga.c
@@ -160,7 +160,7 @@ static int fpga_load (fpga_t* fpga, ulong addr, int checkall)
data = (uchar*)image_get_data (hdr);
len = image_get_data_size (hdr);
- verify = getenv_verify ();
+ verify = getenv_yesno ("verify");
if (verify) {
if (!image_check_dcrc (hdr)) {
strcpy (msg, "Bad Image Data CRC");