summaryrefslogtreecommitdiff
path: root/include/configs/apalis-imx8.h
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-03-11 11:52:59 +0100
committerStefano Babic <sbabic@denx.de>2020-05-01 13:46:22 +0200
commit5e0ceb0bbdafd890e43b48a72f39a87b2f76fdb6 (patch)
treee5f3061040fe32436d2a11a24bd105325199b189 /include/configs/apalis-imx8.h
parenta1a34faef2fb8fa6a1c330b0a157934d24d0341d (diff)
config: apalis-imx8: Enable FEC TXC delay
define FEC_ENET_ENABLE_TXC_DELAY to enable the delay on TXC line on the MAC. This has to be done in order to meet RGMII specs. According to RGMII specs the clock should get delayed so the edges of the clock are preferrably in the middle of the edges of data-lines so they can be sampled properly. Our PHY expects the MAC to delay TXC line, as it is also written in the spec. This patch makes sure the TXC delay on the FEC is enabled Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'include/configs/apalis-imx8.h')
-rw-r--r--include/configs/apalis-imx8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h
index bea035c3e2..4003715733 100644
--- a/include/configs/apalis-imx8.h
+++ b/include/configs/apalis-imx8.h
@@ -24,6 +24,7 @@
/* Networking */
#define FEC_QUIRK_ENET_MAC
+#define FEC_ENET_ENABLE_TXC_DELAY
#define CONFIG_TFTP_TSIZE