comparison target-utils/flash-boot-test/main.c @ 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 cc6594a7fc7a
comparison
equal deleted inserted replaced
197:dbb54db721d1 198:06c629b34903
1 #include "types.h"
2
3 extern const u32 _Magic_words[2];
4
1 main() 5 main()
2 { 6 {
3 printf("\nFlash boot test program running\n"); 7 printf("\nFlash boot test program running (mode %u)\n",
8 _Magic_words[0]);
4 for (;;) { 9 for (;;) {
5 putchar('='); 10 putchar('=');
6 if (command_entry()) 11 if (command_entry())
7 command_dispatch(); 12 command_dispatch();
8 } 13 }