mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
ARM: imx8: Add missing FEC ENET quirk for i.MX8/i.MX8X
Both NXP SoCs i.MX8 and i.MX8X have ENET gigabit MAC. Define FEC_QUIRK_ENET_MAC for the imx8 platform and remove this definition from configs of boards, based on MX8/MX8X. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Acked-by: Marek Vasut <marex@denx.de> Reviewed-By: Ramon Fried <rfried.dev@gmail.com> Acked-by: Oliver Graute <oliver.graute@kococonnector.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
This commit is contained in:
parent
3bbe1a7faf
commit
e5da517c28
8 changed files with 2 additions and 8 deletions
|
@ -26,6 +26,8 @@
|
|||
#define LPI2C4_BASE_ADDR 0x5A830000
|
||||
#define LPI2C5_BASE_ADDR 0x5A840000
|
||||
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
|
||||
#ifdef CONFIG_IMX8QXP
|
||||
#define LVDS0_PHYCTRL_BASE 0x56221000
|
||||
#define LVDS1_PHYCTRL_BASE 0x56241000
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
|
||||
|
||||
/* Networking */
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
#define FEC_ENET_ENABLE_TXC_DELAY
|
||||
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
|
|
@ -143,7 +143,6 @@
|
|||
#define CONFIG_FEC_MXC_PHYADDR 0x4
|
||||
#define CONFIG_ETHPRIME "eth0"
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
#define PHY_ANEG_TIMEOUT 20000
|
||||
|
||||
#endif /* __APALIS_IMX8X_H */
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
|
||||
/* ENET Config */
|
||||
#define CONFIG_FEC_XCV_TYPE RMII
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
|
||||
/* ENET1 connects to base board and MUX with ESAI */
|
||||
#define CONFIG_FEC_ENET_DEV 1
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
|
||||
|
||||
/* Networking */
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
#define CONFIG_IPADDR 192.168.10.2
|
||||
|
|
|
@ -173,6 +173,5 @@
|
|||
|
||||
/* Networking */
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
|
||||
#endif /* __IMX8QM_MEK_H */
|
||||
|
|
|
@ -161,7 +161,6 @@
|
|||
|
||||
/* Networking */
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
|
||||
#include <linux/stringify.h>
|
||||
#endif /* __IMX8QM_ROM7720_H */
|
||||
|
|
|
@ -177,7 +177,6 @@
|
|||
|
||||
/* Networking */
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
|
||||
/* Misc configuration */
|
||||
#define CONFIG_SYS_CBSIZE 2048
|
||||
|
|
Loading…
Reference in a new issue