X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fmaxbcm%2Fmaxbcm.c;h=3c6422214f777c7fff863a73677a86465a909ad9;hb=07672c478e3a6aa0ac2ddb5b05a181b1025fd759;hp=119ba4c6c8f670f84d8afb21aeeeed2eebbafbf6;hpb=3c9cc70d7153da442575112d9a2643eecd17d534;p=oweals%2Fu-boot.git diff --git a/board/maxbcm/maxbcm.c b/board/maxbcm/maxbcm.c index 119ba4c6c8..3c6422214f 100644 --- a/board/maxbcm/maxbcm.c +++ b/board/maxbcm/maxbcm.c @@ -1,10 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2014 Stefan Roese - * - * SPDX-License-Identifier: GPL-2.0+ */ #include +#include #include #include #include @@ -96,7 +96,7 @@ MV_DRAM_MODES *ddr3_get_static_ddr_mode(void) return &maxbcm_ddr_modes[0]; } -MV_BIN_SERDES_CFG *board_serdes_cfg_get(u8 pex_mode) +MV_BIN_SERDES_CFG *board_serdes_cfg_get(void) { return &maxbcm_serdes_cfg[0]; } @@ -138,17 +138,15 @@ int checkboard(void) return 0; } -#ifdef CONFIG_RESET_PHY_R /* Configure and enable MV88E6185 switch */ -void reset_phy(void) +int board_phy_config(struct phy_device *phydev) { - char *name = "neta0"; - - if (miiphy_set_current_dev(name)) - return; - - /* todo: fill this with the real setup / config code */ - - printf("88E6185 Initialized on %s\n", name); + /* + * todo: + * Fill this with the real setup / config code. + * Please see board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c + * for details. + */ + printf("88E6185 Initialized\n"); + return 0; } -#endif /* CONFIG_RESET_PHY_R */