projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmd_elf.c: Cleanup bootvx and handle new CONFIG_SYS_VXWORKS parameters
[platform/kernel/u-boot.git]
/
common
/
cmd_spi.c
diff --git
a/common/cmd_spi.c
b/common/cmd_spi.c
index
40ee7e7
..
1f0727b
100644
(file)
--- a/
common/cmd_spi.c
+++ b/
common/cmd_spi.c
@@
-123,9
+123,8
@@
int do_spi (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
printf("Error with the SPI transaction.\n");
rcode = 1;
} else {
- cp = (char *)din;
for(j = 0; j < ((bitlen + 7) / 8); j++) {
- printf("%02X",
*cp++
);
+ printf("%02X",
din[j]
);
}
printf("\n");
}