]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx: novena: Enable DM ethernet
authorMarek Vasut <marex@denx.de>
Mon, 27 Jan 2020 00:15:27 +0000 (01:15 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 14:03:54 +0000 (15:03 +0100)
Convert to DM ethernet to prevent board removal.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Vagrant Cascadian <vagrant@debian.org>
arch/arm/mach-imx/mx6/Kconfig
configs/novena_defconfig
include/configs/novena.h

index 811c41d9065a5267c718b32b99a606323c02ec41..f9f576d4039959a84b1e98ff584e2d3ca9b33a78 100644 (file)
@@ -259,6 +259,7 @@ config TARGET_GW_VENTANA
 config TARGET_KOSAGI_NOVENA
        bool "Kosagi Novena"
        select BOARD_LATE_INIT
+       select DM_ETH
        select DM_GPIO
        select DM_MMC
        select DM_PCI
index 67469a09291fec7f466637217fe7da2c25d7558b..dbccad354b64a5c2fed2f1d5aab096f85e28b335 100644 (file)
@@ -53,6 +53,8 @@ CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
+CONFIG_FEC_MXC=y
+CONFIG_RGMII=y
 CONFIG_MII=y
 CONFIG_PCI=y
 CONFIG_PINCTRL=y
index c03b8db2bad9de45ccedb815a4a021ec581b0f57..2b8419563c209ee9daca5d8e59f00b4f898567eb 100644 (file)
 #include "imx6_spl.h"                  /* common IMX6 SPL configuration */
 
 /* Ethernet Configuration */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_FEC_MXC
-#define IMX_FEC_BASE                   ENET_BASE_ADDR
-#define CONFIG_FEC_XCV_TYPE            RGMII
-#define CONFIG_ETHPRIME                        "FEC"
-#define CONFIG_FEC_MXC_PHYADDR         0x7
-#define CONFIG_ARP_TIMEOUT             200UL
+#ifdef CONFIG_SPL_BUILD
+#undef CONFIG_DM_ETH
 #endif
 
 /* I2C */