projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b03701
)
rockchip: Drop a debug message when outputing SPI images
author
Simon Glass
<sjg@chromium.org>
Tue, 29 Dec 2015 12:22:44 +0000
(
05:22
-0700)
committer
Simon Glass
<sjg@chromium.org>
Fri, 8 Jan 2016 14:59:06 +0000
(07:59 -0700)
There is an unnecessary sector count displayed. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/rkspi.c
patch
|
blob
|
history
diff --git
a/tools/rkspi.c
b/tools/rkspi.c
index
800e235
..
a0b0051
100644
(file)
--- a/
tools/rkspi.c
+++ b/
tools/rkspi.c
@@
-54,7
+54,7
@@
static void rkspi_set_header(void *buf, struct stat *sbuf, int ifd,
* boot ROM. Its rationale is unknown.
*/
for (sector = size / RKSPI_SECT_LEN - 1; sector >= 0; sector--) {
-
printf
("sector %u\n", sector);
+
debug
("sector %u\n", sector);
memmove(buf + sector * RKSPI_SECT_LEN * 2,
buf + sector * RKSPI_SECT_LEN,
RKSPI_SECT_LEN);