mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-14 14:36:33 -04:00
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>
This commit is contained in:
parent
98ae6070c1
commit
5d89115c53
@ -53,9 +53,10 @@ static inline void serial_early_puts(const char *s)
|
|||||||
static int display_banner(void)
|
static int display_banner(void)
|
||||||
{
|
{
|
||||||
printf("\n\n%s\n\n", version_string);
|
printf("\n\n%s\n\n", version_string);
|
||||||
printf("CPU: ADSP " MK_STR(CONFIG_BFIN_CPU) " "
|
printf("CPU: ADSP %s "
|
||||||
"(Detected Rev: 0.%d) "
|
"(Detected Rev: 0.%d) "
|
||||||
"(%s boot)\n",
|
"(%s boot)\n",
|
||||||
|
gd->bd->bi_cpu,
|
||||||
bfin_revid(),
|
bfin_revid(),
|
||||||
get_bfin_boot_mode(CONFIG_BFIN_BOOT_MODE));
|
get_bfin_boot_mode(CONFIG_BFIN_BOOT_MODE));
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user