cmd: itest: add support for .q size specifier
A message that is not in the archive (sent off-list or not yet received): CGME20191002102456eucas1p2ddd108c667a7469fdce18be52ea9c408@eucas1p2.samsung.com
PATCH RESEND 1/1 cmd: itest: add support for .q size specifier
Add support for quad (64bits) memory access specifier.
Signed-off-by Marek Szyprowski <[email protected]>
Acked-by Lukasz Majewski <[email protected]>
---
Resend reason: stand alone patch, independent from the main patchset:
https://patchwork.ozlabs.org/cover/994309/
--- cmd/itest.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
cmd/itest.c +12 -0
@@ -73,6 +73,11 @@ static long evalexp(char *s, int w)case 4 : l = (long )(*(u32 *)buf);break ; +#ifdef CONFIG_PHYS_64BIT +case 8 : + l = (long )(*(unsigned long *)buf); +break ; +#endif }unmap_physmem (buf, w);return l;
@@ -186,6 +191,9 @@ static int do_itest(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])case 1 :case 2 :case 4 : +#ifdef CONFIG_PHYS_64BIT +case 8 : +#endif value =binary_test (argv[2 ], argv[1 ], argv[3 ], w);break ;case -2 :
@@ -204,5 +212,9 @@ static int do_itest(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])U_BOOT_CMD ( itest,4 ,0 , do_itest,"return true/false on integer compare" , +#ifdef CONFIG_PHYS_64BIT + "[.b, .w, .l, .q, .s] [*]value1 <op> [*]value2" +#else"[.b, .w, .l, .s] [*]value1 <op> [*]value2" +#endif );
Signature · 1 line
2.17.1
PATCH RESEND 1/1 cmd: itest: add support for .q size specifier
Quoted 4 lines · Marek Szyprowski
Add support for quad (64bits) memory access specifier.
Signed-off-by Marek Szyprowski <[email protected]>Acked-by Lukasz Majewski <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191012/d4902f31/attachment.sig>