diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 11:37:40 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 11:37:40 +0200 |
commit | 029b6dc77c8533fe46d9402463487512831c0b29 (patch) | |
tree | 808449338a88797c56390cba321c2ccc81391371 | |
parent | 2c33a38bace6a29fe85d6dcd9567bf0ae751014e (diff) | |
download | u-boot-imx-029b6dc77c8533fe46d9402463487512831c0b29.zip u-boot-imx-029b6dc77c8533fe46d9402463487512831c0b29.tar.gz u-boot-imx-029b6dc77c8533fe46d9402463487512831c0b29.tar.bz2 |
Make code better readable.
Patch by Ladislav Michl, 14 Sep 2005
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | common/cmd_mem.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,9 @@ Changes since U-Boot 1.1.4: ====================================================================== +* Make code better readable. + Patch by Ladislav Michl, 14 Sep 2005 + * Enable initrd ATAG for xm250 board. Patch by Josef Wagner, 05 Sep 2005 diff --git a/common/cmd_mem.c b/common/cmd_mem.c index 0f4f9b7..d0fae6b 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -707,7 +707,7 @@ int do_mem_mtest (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) #if defined(CFG_MEMTEST_SCRATCH) vu_long *dummy = (vu_long*)CFG_MEMTEST_SCRATCH; #else - vu_long *dummy = NULL; + vu_long *dummy = 0; /* yes, this is address 0x0, not NULL */ #endif int j; int iterations = 1; |