summaryrefslogtreecommitdiff
path: root/chip/g/upgrade_fw.c
diff options
context:
space:
mode:
authorMarius Schilder <mschilder@google.com>2018-02-26 13:22:37 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-02-26 19:28:55 -0800
commitab706d65fd9a262498654ac559011f99b1038cb3 (patch)
tree239509a98c7bfcb896098b294bd6747ae95ee3c0 /chip/g/upgrade_fw.c
parent3b2fec7700604be1a9c8cf8c3c7e3ec8a6bdfa73 (diff)
downloadchrome-ec-ab706d65fd9a262498654ac559011f99b1038cb3.tar.gz
g: make fw upgrade less chatty
When running w/ blocking usb console output (CONFIG_USB_CONSOLE_CRC) and the host is not polling the console, upgrade will fail. Signed-off-by: mschilder@google.com TEST=buildall -j8; gsctool update succeeds on mn50 BRANCH=none BUG=none Change-Id: I5c09694c146ba0fbf7562b86ab0fad0d578bc5ff Reviewed-on: https://chromium-review.googlesource.com/938392 Commit-Ready: Marius Schilder <mschilder@chromium.org> Tested-by: Marius Schilder <mschilder@chromium.org> Reviewed-by: Marius Schilder <mschilder@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'chip/g/upgrade_fw.c')
-rw-r--r--chip/g/upgrade_fw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/chip/g/upgrade_fw.c b/chip/g/upgrade_fw.c
index d350753fa1..b796184a08 100644
--- a/chip/g/upgrade_fw.c
+++ b/chip/g/upgrade_fw.c
@@ -454,8 +454,7 @@ void fw_upgrade_command_handler(void *body,
header->image_size |= TOP_IMAGE_SIZE_BIT;
}
- CPRINTF("%s: programming at address 0x%x\n", __func__,
- block_offset + CONFIG_PROGRAM_MEMORY_BASE);
+ CPRINTF("at 0x%x\n", block_offset + CONFIG_PROGRAM_MEMORY_BASE);
if (flash_physical_write(block_offset, body_size, upgrade_data)
!= EC_SUCCESS) {
*error_code = UPGRADE_WRITE_FAILURE;