Commit 0ee21f39 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Jakub Kicinski
Browse files

m68k: coldfire: remove creating a fixed phy



Now that the fec ethernet driver creates a fixed phy if needed,
we can remove this here.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/212e0cb5-a2f5-460f-8e03-3c3369d0acf1@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent dc86b621
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@
#include <linux/init.h>
#include <linux/io.h>
#include <linux/phy.h>
#include <linux/phy_fixed.h>
#include <asm/machdep.h>
#include <asm/coldfire.h>
#include <asm/mcfsim.h>
@@ -103,23 +102,9 @@ void __init config_BSP(char *commandp, int size)

/***************************************************************************/

/*
 * Some 5272 based boards have the FEC ethernet directly connected to
 * an ethernet switch. In this case we need to use the fixed phy type,
 * and we need to declare it early in boot.
 */
static const struct fixed_phy_status nettel_fixed_phy_status __initconst = {
	.link	= 1,
	.speed	= 100,
	.duplex	= 0,
};

/***************************************************************************/

static int __init init_BSP(void)
{
	m5272_uarts_init();
	fixed_phy_add(&nettel_fixed_phy_status);
	clkdev_add_table(m5272_clk_lookup, ARRAY_SIZE(m5272_clk_lookup));
	return 0;
}