Just enabling the Kconfig option for DM_ETH and DM_MDIO is enough.
Additionally, we can remove the old hardcoded config.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
CONFIG_DM_SPI_FLASH=y
CONFIG_SF_DEFAULT_SPEED=25000000
CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_DM_ETH=y
+CONFIG_DM_MDIO=y
CONFIG_MVGBE=y
CONFIG_MII=y
CONFIG_DM_REGULATOR=y
CONFIG_DM_SPI_FLASH=y
CONFIG_SF_DEFAULT_SPEED=25000000
CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_DM_ETH=y
+CONFIG_DM_MDIO=y
CONFIG_MVGBE=y
CONFIG_MII=y
CONFIG_DM_REGULATOR=y
"setenv autoload_old\0" \
"nc=setenv stdin nc; setenv stdout nc; setenv stderr nc\0" \
-/*
- * Ethernet Driver configuration
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS {0, 1} /* enable port 1 only */
-#define CONFIG_PHY_BASE_ADR 7
-#endif /* CONFIG_CMD_NET */
-
#endif /* _CONFIG_LSXL_H */