changeset 198:06c629b34903

target-utils/flash-boot-test/main.c: indicate the mode/version in the banner
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 30 Apr 2017 17:42:40 +0000
parents dbb54db721d1
children 5515360e2f61
files target-utils/flash-boot-test/main.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/target-utils/flash-boot-test/main.c	Sun Apr 30 17:40:26 2017 +0000
+++ b/target-utils/flash-boot-test/main.c	Sun Apr 30 17:42:40 2017 +0000
@@ -1,6 +1,11 @@
+#include "types.h"
+
+extern const u32 _Magic_words[2];
+
 main()
 {
-	printf("\nFlash boot test program running\n");
+	printf("\nFlash boot test program running (mode %u)\n",
+		_Magic_words[0]);
 	for (;;) {
 		putchar('=');
 		if (command_entry())