aboutsummaryrefslogtreecommitdiff
path: root/lib_blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-06 06:16:19 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-02 12:27:16 -0500
commitfc68f9f85959664d528daea2aef5ef54974331ce (patch)
tree9094be183801b09f5651f491311ec3b509772e57 /lib_blackfin
parent8df3ce0f49c37947800ac7c84e751499882619fc (diff)
Blackfin: output booting source when booting
Knowing the booting source of the part is useful, especially when the part can switch dynamically between sources. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_blackfin')
-rw-r--r--lib_blackfin/board.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c
index 03553ab84..c22371197 100644
--- a/lib_blackfin/board.c
+++ b/lib_blackfin/board.c
@@ -70,7 +70,11 @@ void *sbrk(ptrdiff_t increment)
static int display_banner(void)
{
printf("\n\n%s\n\n", version_string);
- printf("CPU: ADSP " MK_STR(CONFIG_BFIN_CPU) " (Detected Rev: 0.%d)\n", bfin_revid());
+ printf("CPU: ADSP " MK_STR(CONFIG_BFIN_CPU) " "
+ "(Detected Rev: 0.%d) "
+ "(%s boot)\n",
+ bfin_revid(),
+ get_bfin_boot_mode(CONFIG_BFIN_BOOT_MODE));
return 0;
}