From 5cd47907a0a9d7865bea260f6d03ab795285eeef Mon Sep 17 00:00:00 2001 From: nagendra modadugu Date: Thu, 9 Jun 2016 13:15:49 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/351332 Commit-Ready: Nagendra Modadugu Tested-by: Nagendra Modadugu Reviewed-by: Bill Richardson --- chip/g/loader/rom_flash.c | 5 +++-- 1 file 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) { -- cgit v1.2.1