mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 20:51:39 +00:00
rockchip: Drop a debug message when outputing SPI images
There is an unnecessary sector count displayed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
9b03701a10
commit
25525ebe31
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ static void rkspi_set_header(void *buf, struct stat *sbuf, int ifd,
|
||||||
* boot ROM. Its rationale is unknown.
|
* boot ROM. Its rationale is unknown.
|
||||||
*/
|
*/
|
||||||
for (sector = size / RKSPI_SECT_LEN - 1; sector >= 0; sector--) {
|
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,
|
memmove(buf + sector * RKSPI_SECT_LEN * 2,
|
||||||
buf + sector * RKSPI_SECT_LEN,
|
buf + sector * RKSPI_SECT_LEN,
|
||||||
RKSPI_SECT_LEN);
|
RKSPI_SECT_LEN);
|
||||||
|
|
Loading…
Add table
Reference in a new issue