]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arc: Get rid of board-specific print_cpuinfo()
authorAlexey Brodkin <alexey.brodkin@synopsys.com>
Tue, 27 Nov 2018 06:46:58 +0000 (09:46 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Mon, 3 Dec 2018 11:26:26 +0000 (14:26 +0300)
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>
board/synopsys/hsdk/hsdk.c
board/synopsys/iot_devkit/iot_devkit.c

index b6aefdbe6d6a52620c52d57b4c551e66802757b0..ff343599b092388ae052439eaa2136c18081c7d3 100644 (file)
@@ -1053,11 +1053,3 @@ int board_mmc_init(bd_t *bis)
 
        return 0;
 }
-
-#ifdef CONFIG_DISPLAY_CPUINFO
-int print_cpuinfo(void)
-{
-       printf("CPU:   ARC HS38 v2.1c\n");
-       return 0;
-}
-#endif /* CONFIG_DISPLAY_CPUINFO */
index f8838fb3ce87a15e654b5ddeea3bd73169343737..8424e09bd3cf2299d1338ce04917a4f34616693a 100644 (file)
@@ -189,13 +189,3 @@ int checkboard(void)
        puts("Board: Synopsys IoT Development Kit\n");
        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 */