diff options
-rw-r--r-- | src/drivers/net/phy/m88e1512/Kconfig | 5 | ||||
-rw-r--r-- | src/drivers/net/phy/m88e1512/Makefile.inc | 1 | ||||
-rw-r--r-- | src/drivers/net/phy/m88e1512/m88e1512.c | 17 |
3 files changed, 23 insertions, 0 deletions
diff --git a/src/drivers/net/phy/m88e1512/Kconfig b/src/drivers/net/phy/m88e1512/Kconfig new file mode 100644 index 0000000000..24405a5f50 --- /dev/null +++ b/src/drivers/net/phy/m88e1512/Kconfig @@ -0,0 +1,5 @@ +config DRIVERS_ETH_PHY_M88E1512 + bool + default n + help + Enable support for external Marvell PHY chip 88E1512. diff --git a/src/drivers/net/phy/m88e1512/Makefile.inc b/src/drivers/net/phy/m88e1512/Makefile.inc new file mode 100644 index 0000000000..043b3a3aed --- /dev/null +++ b/src/drivers/net/phy/m88e1512/Makefile.inc @@ -0,0 +1 @@ +ramstage-$(CONFIG_DRIVERS_ETH_PHY_M88E1512) += m88e1512.c diff --git a/src/drivers/net/phy/m88e1512/m88e1512.c b/src/drivers/net/phy/m88e1512/m88e1512.c new file mode 100644 index 0000000000..3f45a10dae --- /dev/null +++ b/src/drivers/net/phy/m88e1512/m88e1512.c @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <device/device.h> + +static void m88e1512_init(struct device *dev) +{ +} + +struct device_operations m88e1512_ops = { + .read_resources = noop_read_resources, + .set_resources = noop_set_resources, + .init = m88e1512_init, +}; + +struct chip_operations drivers_net_phy_m88e1512_ops = { + CHIP_NAME("88E1512") +}; |