[U-Boot-Users] [PATCH] mtest wrong error message

Hello,
the CFG_ALT_MEMTEST mtest returns a wrong error message in case the data line test fails with the inverted pattern. The "is" and the "should be" values were exchanged. Additionally, the "should be" value was not inverted when printing. This patch fixes this.
Regards Mark
Index: u-boot/common/cmd_mem.c diff -u u-boot/common/cmd_mem.c:1.5 u-boot/common/cmd_mem.c:1.6 --- u-boot/common/cmd_mem.c:1.5 Tue Jul 13 12:40:29 2004 +++ u-boot/common/cmd_mem.c Thu Sep 9 11:51:35 2004 @@ -736,7 +736,7 @@ if(readback != ~val) { printf ("FAILURE (data line): " "Is %08lx, should be %08lx\n", - val, readback); + readback, ~val); } } }
* Patch by Mark Jonas, 09 September 2004: mtest's data line test (with CFG_ALT_MEMTEST set) returned a wrong error message. Fixed.

In message 41402905.1010306@freescale.com you wrote:
- Patch by Mark Jonas, 09 September 2004: mtest's data line test (with CFG_ALT_MEMTEST set) returned a wrong error message. Fixed.
Added, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Mark Jonas
-
Wolfgang Denk