mirror of
https://xff.cz/git/u-boot/
synced 2025-09-18 00:52:07 +02:00
arc: Get rid of board-specific print_cpuinfo()
Since we now do advanced CPU identification in generic ARC code there's no need to have per-board hardcoded data. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
This commit is contained in:
committed by
Alexey Brodkin
parent
85e529fdfc
commit
7f25b72a78
@@ -1053,11 +1053,3 @@ int board_mmc_init(bd_t *bis)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_DISPLAY_CPUINFO
|
|
||||||
int print_cpuinfo(void)
|
|
||||||
{
|
|
||||||
printf("CPU: ARC HS38 v2.1c\n");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif /* CONFIG_DISPLAY_CPUINFO */
|
|
||||||
|
@@ -189,13 +189,3 @@ int checkboard(void)
|
|||||||
puts("Board: Synopsys IoT Development Kit\n");
|
puts("Board: Synopsys IoT Development Kit\n");
|
||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_DISPLAY_CPUINFO
|
|
||||||
int print_cpuinfo(void)
|
|
||||||
{
|
|
||||||
char mhz[8];
|
|
||||||
|
|
||||||
printf("CPU: ARC EM9D at %s MHz\n", strmhz(mhz, gd->cpu_clk));
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif /* CONFIG_DISPLAY_CPUINFO */
|
|
||||||
|
Reference in New Issue
Block a user