annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
198
06c629b34903 target-utils/flash-boot-test/main.c: indicate the mode/version in the banner
Mychaela Falconia <falcon@freecalypso.org>
parents: 197
diff changeset
1 #include "types.h"
06c629b34903 target-utils/flash-boot-test/main.c: indicate the mode/version in the banner
Mychaela Falconia <falcon@freecalypso.org>
parents: 197
diff changeset
2
06c629b34903 target-utils/flash-boot-test/main.c: indicate the mode/version in the banner
Mychaela Falconia <falcon@freecalypso.org>
parents: 197
diff changeset
3 extern const u32 _Magic_words[2];
06c629b34903 target-utils/flash-boot-test/main.c: indicate the mode/version in the banner
Mychaela Falconia <falcon@freecalypso.org>
parents: 197
diff changeset
4
197
dbb54db721d1 target-utils/flash-boot-test written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 main()
dbb54db721d1 target-utils/flash-boot-test written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 {
198
06c629b34903 target-utils/flash-boot-test/main.c: indicate the mode/version in the banner
Mychaela Falconia <falcon@freecalypso.org>
parents: 197
diff changeset
7 printf("\nFlash boot test program running (mode %u)\n",
06c629b34903 target-utils/flash-boot-test/main.c: indicate the mode/version in the banner
Mychaela Falconia <falcon@freecalypso.org>
parents: 197
diff changeset
8 _Magic_words[0]);
197
dbb54db721d1 target-utils/flash-boot-test written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 for (;;) {
dbb54db721d1 target-utils/flash-boot-test written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 putchar('=');
dbb54db721d1 target-utils/flash-boot-test written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 if (command_entry())
dbb54db721d1 target-utils/flash-boot-test written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 command_dispatch();
dbb54db721d1 target-utils/flash-boot-test written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 }
dbb54db721d1 target-utils/flash-boot-test written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 }