]> git.dujemihanovic.xyz Git - u-boot.git/commit
tftp: implement support for LED activity
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 1 Oct 2024 12:24:39 +0000 (14:24 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 10 Oct 2024 22:02:20 +0000 (16:02 -0600)
commit5d162bbb203502516b92934b78316b874c20d176
treeb27dda7219fe28532ee9c778d09a4db573a71be6
parentaad8cfa3ca4b1bb18c4a55d2bbee4f58d3095d64
tftp: implement support for LED activity

Implement support for LED activity. If the feature is enabled,
make the defined ACTIVITY LED to signal traffic.

Also turn the ACTIVITY LED OFF if a CTRL-C is detected in the main
net loop function.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
net/net.c
net/tftp.c