ARM: stm32: Increase PHY auto-negotiation timeout to 20s on DHSOM
Subsystems (2)
PATCH 1/1 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.
--- include/configs/stm32mp15_dh_dhsom.h | 3 +++ 1 file changed, 3 insertions(+)
include/configs/stm32mp15_dh_dhsom.h +3 -0
@@ -21,6 +21,9 @@"sf update ${loadaddr} 0x80000 ${filesize} && " \"env set filesize1 && env set loadaddr1\0" +/* PHY needs a longer autoneg timeout */ +#define PHY_ANEG_TIMEOUT 20000 +#include <configs/stm32mp15_common.h> #define CONFIG_SPL_TARGET "u-boot.itb"
Signature · 1 line
2.33.0
Hi Marek
Quoted 18 lines · Marek Vasut
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 <[email protected]>Cc Patrice Chotard <[email protected]>Cc Patrick Delaunay <[email protected]>--- include/configs/stm32mp15_dh_dhsom.h | 3 +++ 1 file changed, 3 insertions(+)include/configs/stm32mp15_dh_dhsom.h +0
-0
include/configs/stm32mp15_dh_dhsom.h line 29
Quoted 9 lines
include/configs/stm32mp15_dh_dhsom.h +3
-0@@ -21,6 +21,9 @@"sf update ${loadaddr} 0x80000 ${filesize} && " \"env set filesize1 && env set loadaddr1\0" +/* PHY needs a longer autoneg timeout */ +#define PHY_ANEG_TIMEOUT 20000 +#include <configs/stm32mp15_common.h> #define CONFIG_SPL_TARGET "u-boot.itb"
Thanks
Patrice
Hi,
Quoted 17 lines · Marek Vasut
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 <[email protected]>Cc Patrice Chotard <[email protected]>Cc Patrick Delaunay <[email protected]>--- include/configs/stm32mp15_dh_dhsom.h | 3 +++ 1 file changed, 3 insertions(+)include/configs/stm32mp15_dh_dhsom.h +0
-0
include/configs/stm32mp15_dh_dhsom.h line 29
Quoted 9 lines
include/configs/stm32mp15_dh_dhsom.h +3
-0@@ -21,6 +21,9 @@"sf update ${loadaddr} 0x80000 ${filesize} && " \"env set filesize1 && env set loadaddr1\0" +/* PHY needs a longer autoneg timeout */ +#define PHY_ANEG_TIMEOUT 20000 +#include <configs/stm32mp15_common.h> #define CONFIG_SPL_TARGET "u-boot.itb"
Thanks
Patrick
Hi Marek
Quoted 32 lines · Patrick DELAUNAY
Hi,
Quoted 22 lines · Marek Vasut
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 <[email protected]>Cc Patrice Chotard <[email protected]>Cc Patrick Delaunay <[email protected]>---
include/configs/stm32mp15_dh_dhsom.h| 3 +++1 file changed, 3 insertions(+)include/configs/stm32mp15_dh_dhsom.h +0
-0@@ -21,6 +21,9 @@ "sf update ${loadaddr} 0x80000 ${filesize} && " \"env set filesize1 && env set loadaddr1\0" +/* PHY needs a longer autoneg timeout */
include/configs/stm32mp15_dh_dhsom.h +2
-0+#define PHY_ANEG_TIMEOUT 20000 +Quoted 2 lines
#include <
configs/stm32mp15_common.h>
#define CONFIG_SPL_TARGET "u-boot.itb"Reviewed-by Patrick Delaunay <[email protected]>
Quoted 4 lines
Thanks
Patrick
Applied to u-boot-stm32/next
Thanks
Patrice