Skip to content
Commit 1ad8bb58 authored by Satoru Okamoto's avatar Satoru Okamoto Committed by Leif Lindholm
Browse files

NetsecDxe: SnpInitialize() waits for media linking up



The latest NetsecDxe requires issueing phy reset at the
last stage of initialization to safely exit loopback mode.
However, as a result, it takes a couple of seconds for link state
to get stable, which could cause auto-chosen pxeboot to fail
due to MediaPresent check error.

This patch adds link state check with 5s timeout in NetsecDxe
initialization. The timeout value can be adjustable via
configuration file.

Signed-off-by: default avatarMasahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
parent 2387612d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment