summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-11-10 09:11:38 -0800
committerBill Richardson <wfrichar@chromium.org>2015-11-10 22:40:05 +0000
commit92386dd91c9967f7c23941e8bc6b415fc37b3f1f (patch)
treeb79f3116d37d2ee900ceaf3ff67798c1aec65c94
parent71133a0d80dcb6f15e3bd57dd0c4e29d978b1e66 (diff)
downloadchrome-ec-92386dd91c9967f7c23941e8bc6b415fc37b3f1f.tar.gz
Cr50: Tweak debug message for clarity
Until we update the naming for our various images in the Makefiles, let's change the bootloader message slighty, so that instead of seeing two "RO" images: CR50 RO, 20151104_41733@78962 Valid image found at 0x00044000, jumping --- UART initialized after reboot --- [Reset cause: power-on] [Image: RO, cr50_v1.1.4008-957a842 2015-11-07 00:28:37 wfrichar@wintermute4.mtv. corp.google.com] [0.000897 Verifying RW image...] we see the bootloader, and then what we've been calling the RO image, and then the RW image: cr50 bootloader, 20151104_41733@78962 Valid image found at 0x00044000, jumping --- UART initialized after reboot --- [Reset cause: power-on] [Image: RO, cr50_v1.1.4008-957a842 2015-11-07 00:28:37 wfrichar@wintermute4.mtv. corp.google.com] [0.000897 Verifying RW image...] BUG=none BRANCH=none TEST=make buildall, try it No new functionality, just a different message on the console. Change-Id: Ia8dce600c7d159416dc6dabbbf0c0cc4129a988d Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/311831 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--chip/g/loader/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/g/loader/main.c b/chip/g/loader/main.c
index c72b063710..0de3ff616d 100644
--- a/chip/g/loader/main.c
+++ b/chip/g/loader/main.c
@@ -63,7 +63,8 @@ int main(void)
{
init_trng();
uart_init();
- debug_printf("\n\nCR50 RO, %8u_%u@%u\n", GREG32(SWDP, BUILD_DATE),
+ debug_printf("\n\n%s bootloader, %8u_%u@%u\n",
+ STRINGIFY(BOARD), GREG32(SWDP, BUILD_DATE),
GREG32(SWDP, BUILD_TIME), GREG32(SWDP, P4_LAST_SYNC));
unlockFlashForRW();