summaryrefslogtreecommitdiff
path: root/include/configs/stm32mp15_dh_dhsom.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2021-11-13 05:26:05 +0300
committerPatrice Chotard <patrice.chotard@foss.st.com>2021-12-13 16:33:59 +0300
commite1d7b0b9c55a105ec8b9d8bcb24d68fc7b74789a (patch)
tree223d4448a6cb14d7d976fc95d2d015a77632ab7a /include/configs/stm32mp15_dh_dhsom.h
parent44beea28456fc17b6b5137f0104b625d8741a5c6 (diff)
downloadu-boot-e1d7b0b9c55a105ec8b9d8bcb24d68fc7b74789a.tar.xz
ARM: stm32: Increase PHY auto-negotiation timeout to 20s on DHSOM
The Micrel PHYs on known DHSOM based boards take a while to come out of reset, increase the auto-negotiation timeout to prevent it from timing out in case the ethernet is used right after the board was reset. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'include/configs/stm32mp15_dh_dhsom.h')
-rw-r--r--include/configs/stm32mp15_dh_dhsom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/stm32mp15_dh_dhsom.h b/include/configs/stm32mp15_dh_dhsom.h
index b68e153f10..c79f0272cb 100644
--- a/include/configs/stm32mp15_dh_dhsom.h
+++ b/include/configs/stm32mp15_dh_dhsom.h
@@ -8,6 +8,9 @@
#ifndef __CONFIG_STM32MP15_DH_DHSOM_H__
#define __CONFIG_STM32MP15_DH_DHSOM_H__
+/* PHY needs a longer autoneg timeout */
+#define PHY_ANEG_TIMEOUT 20000
+
#define STM32MP_BOARD_EXTRA_ENV \
"usb_pgood_delay=1000\0" \
"update_sf=" /* Erase SPI NOR and install U-Boot from SD */ \