Workaround to add support for proper long/quad (32/64bits) memory access.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
case 4:
l = (long)(*(u32 *)buf);
break;
+ case 8:
+ l = (long)(*(unsigned long *)buf);
+ break;
}
unmap_physmem(buf, w);
return l;
case 1:
case 2:
case 4:
+ case 8:
value = binary_test (argv[2], argv[1], argv[3], w);
break;
case -2:
U_BOOT_CMD(
itest, 4, 0, do_itest,
"return true/false on integer compare",
- "[.b, .w, .l, .s] [*]value1 <op> [*]value2"
+ "[.b, .w, .l, .q, .s] [*]value1 <op> [*]value2"
);