From b1ddb5f91886df1f4864c1aef6f5106f2ef98bb9 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Thu, 8 Oct 2020 12:22:26 +0200 Subject: configs: apalis-imx8x.h: define FEC_ENET_ENABLE_TXC_DELAY We need a delay on RGMII TXC clock line by 2ns to accomodate to the data-line edges. In the RGMII standard this has to be done by the MAC for TXC and by the PHY for RXC. fsl,rgmii_txc_dly that is used in linux-kernel is not implemented in U-Boot so use the actual implemented define FEC_ENET_ENABLE_TXC_DELAY RXC delay will be done by KSZ9131 PHY. Related-to: ELB-3056 Signed-off-by: Philippe Schenker --- include/configs/apalis-imx8x.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/apalis-imx8x.h b/include/configs/apalis-imx8x.h index 08ea3ba8c0..6c2609b486 100644 --- a/include/configs/apalis-imx8x.h +++ b/include/configs/apalis-imx8x.h @@ -30,6 +30,8 @@ #define CONFIG_NETMASK 255.255.255.0 #define CONFIG_SERVERIP 192.168.10.1 +#define FEC_ENET_ENABLE_TXC_DELAY + /** * SYS_SDRAM_BASE 0x80000000 0.125MiB * SYS_TEXT_BASE 0x80020000 2.375MiB -- cgit v1.2.3