diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-08-09 17:39:22 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-08-11 11:29:19 -0400 |
commit | 5d89115c5314987f7f57ee705f8f9b5c6b0be0f8 (patch) | |
tree | deecda1e1e349f6bb7c429b78e66b19fb5a85641 /arch/blackfin/lib/board.c | |
parent | 98ae6070c10c69a6bf46a20dde547434af30b4bb (diff) | |
download | u-boot-imx-5d89115c5314987f7f57ee705f8f9b5c6b0be0f8.zip u-boot-imx-5d89115c5314987f7f57ee705f8f9b5c6b0be0f8.tar.gz u-boot-imx-5d89115c5314987f7f57ee705f8f9b5c6b0be0f8.tar.bz2 |
Blackfin: re-use board data in cpu banner
The bi_cpu field of the board data is already set to the relevant cpu
string, so there is no need for us to use the define directly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/lib/board.c')
-rw-r--r-- | arch/blackfin/lib/board.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index 2d3230c..46e36c8 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -53,9 +53,10 @@ static inline void serial_early_puts(const char *s) static int display_banner(void) { printf("\n\n%s\n\n", version_string); - printf("CPU: ADSP " MK_STR(CONFIG_BFIN_CPU) " " + printf("CPU: ADSP %s " "(Detected Rev: 0.%d) " "(%s boot)\n", + gd->bd->bi_cpu, bfin_revid(), get_bfin_boot_mode(CONFIG_BFIN_BOOT_MODE)); return 0; |