arm: mach-sc5xx: Remove inappropriate board-specific functions
authorGreg Malysa <malysagreg@gmail.com>
Fri, 28 Feb 2025 18:58:34 +0000 (13:58 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 13 Mar 2025 15:52:33 +0000 (09:52 -0600)
The sc5xx machine code includes implementations of board_init and
board_early_init_f which should not be included in the base soc support
code, as they should be implemented by a board where necessary.

This removes the default empty implementations of both from mach-sc5xx.

Signed-off-by: Greg Malysa <malysagreg@gmail.com>
arch/arm/mach-sc5xx/soc.c

index 9bf7c31..8f13127 100644 (file)
@@ -172,16 +172,6 @@ void fixup_dp83867_phy(struct phy_device *phydev)
                phy_write(phydev, MDIO_DEVAD_NONE, 0, 0x3100);
 }
 
-int board_early_init_f(void)
-{
-       return 0;
-}
-
-int board_init(void)
-{
-       return 0;
-}
-
 int dram_init(void)
 {
        gd->ram_size = CFG_SYS_SDRAM_SIZE;