diff options
author | wdenk <wdenk> | 2003-09-18 09:21:33 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-09-18 09:21:33 +0000 |
commit | 5f535fe170e2cd90ee65922cbad1a5428d85a9e6 (patch) | |
tree | d0b1d5af2252f461fd3533c90e5aa215d6ac5b1d /common/cmd_mem.c | |
parent | b0639ca33214eedeb026ce45ad1871d477cdbfb8 (diff) | |
download | u-boot-5f535fe170e2cd90ee65922cbad1a5428d85a9e6.tar.gz u-boot-5f535fe170e2cd90ee65922cbad1a5428d85a9e6.tar.xz u-boot-5f535fe170e2cd90ee65922cbad1a5428d85a9e6.zip |
* Patches by Anders Larsen, 17 Sep 2003:
- fix spelling errors
- set GD_FLG_DEVINIT flag only after device function pointers
are valid
- Allow CFG_ALT_MEMTEST on systems where address zero isn't
writeable
- enable 3.rd UART (ST-UART) on PXA(XScale) CPUs
- trigger watchdog while waiting in serial driver
Diffstat (limited to 'common/cmd_mem.c')
-rw-r--r-- | common/cmd_mem.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/cmd_mem.c b/common/cmd_mem.c index 3e225988bb..3918678140 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -555,7 +555,11 @@ int do_mem_mtest (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) vu_long temp; vu_long anti_pattern; vu_long num_words; +#if defined(CFG_MEMTEST_SCRATCH) + vu_long *dummy = (vu_long*)CFG_MEMTEST_SCRATCH; +#else vu_long *dummy = NULL; +#endif int j; int iterations = 1; |