diff options
author | nagendra modadugu <ngm@google.com> | 2016-06-09 13:15:49 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-06-10 00:18:01 -0700 |
commit | 5cd47907a0a9d7865bea260f6d03ab795285eeef (patch) | |
tree | d9f3ad9b9955bd726ecfd2f08070fd53e9454f14 | |
parent | a80d840509e2b3a1246b557f3743e120ecaacabd (diff) | |
download | chrome-ec-5cd47907a0a9d7865bea260f6d03ab795285eeef.tar.gz |
CR50: fix bug in rom_flash.c debug print message
BRANCH=none
BUG=chrome-os-partner:43025
TEST=build succeeds
Change-Id: Ieecf5072f821ec65f308604f9153c938ee08620a
Signed-off-by: nagendra modadugu <ngm@google.com>
Reviewed-on: https://chromium-review.googlesource.com/351332
Commit-Ready: Nagendra Modadugu <ngm@google.com>
Tested-by: Nagendra Modadugu <ngm@google.com>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r-- | chip/g/loader/rom_flash.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chip/g/loader/rom_flash.c b/chip/g/loader/rom_flash.c index eec0bc4733..3e70961503 100644 --- a/chip/g/loader/rom_flash.c +++ b/chip/g/loader/rom_flash.c @@ -14,9 +14,10 @@ static int _flash_error(void) if (!retval) return 0; - debug_printf("Register FLASH_FSH_ERROR is not zero (found %x).\n"); + debug_printf("Register FLASH_FSH_ERROR is not zero (found %x).\n", + retval); debug_printf("Will read again to verify FSH_ERROR was cleared "); - debug_printf("and then continue...\n", retval); + debug_printf("and then continue...\n"); retval = GREG32(FLASH, FSH_ERROR); if (retval) { |