summaryrefslogtreecommitdiff
path: root/lib_blackfin/board.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-18 05:26:48 -0500
committerMike Frysinger <vapier@gentoo.org>2008-03-15 22:14:14 -0400
commitf7ce12cb65a30c6e152eecf26f0304b7d78cf39d (patch)
tree8e3127b578efdae718284988364f13055debec9a /lib_blackfin/board.c
parent86a20fb920bd198105acf7b1191117f566d637ed (diff)
downloadu-boot-imx-f7ce12cb65a30c6e152eecf26f0304b7d78cf39d.zip
u-boot-imx-f7ce12cb65a30c6e152eecf26f0304b7d78cf39d.tar.gz
u-boot-imx-f7ce12cb65a30c6e152eecf26f0304b7d78cf39d.tar.bz2
Blackfin: convert BFIN_CPU to CONFIG_BFIN_CPU
Stop tying things to the processor that should be tied to other defines and change BFIN_CPU to CONFIG_BFIN_CPU so that it can be used in the build system to select the -mcpu option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_blackfin/board.c')
-rw-r--r--lib_blackfin/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c
index 86a3b67..2a5a2fc 100644
--- a/lib_blackfin/board.c
+++ b/lib_blackfin/board.c
@@ -116,6 +116,7 @@ static int display_banner(void)
{
sprintf(version_string, VERSION_STRING_FORMAT, VERSION_STRING);
printf("%s\n", version_string);
+ printf("CPU: ADSP " MK_STR(CONFIG_BFIN_CPU) " (Detected Rev: 0.%d)\n", bfin_revid());
return (0);
}
@@ -404,7 +405,7 @@ void board_init_r(gd_t * id, ulong dest_addr)
misc_init_r();
#endif
-#if ((BFIN_CPU == ADSP_BF537) || (BFIN_CPU == ADSP_BF536))
+#ifdef CONFIG_CMD_NET
printf("Net: ");
eth_initialize(bd);
#endif