summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-10-08 12:22:26 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-10-08 12:27:02 +0200
commitb1ddb5f91886df1f4864c1aef6f5106f2ef98bb9 (patch)
tree8b30534b0520b1ef2f0c0449729da9cc2d586e8f
parent5875c68c2881e2c9ef6e9664bc4d8bd8582b65f4 (diff)
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 <philippe.schenker@toradex.com>
-rw-r--r--include/configs/apalis-imx8x.h2
1 files changed, 2 insertions, 0 deletions
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