]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: Allow ethernet to be disabled at runtime
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:27 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:39 +0000 (18:11 -0500)
commit9149b976abd75e305e31acc0d710434f601548c3
tree9c29daf5a2cd8180687b3ee4887bca40923bb658
parente3fd486258bdea359b23f589ed9ef870ecdefd96
sandbox: Allow ethernet to be disabled at runtime

For bootstd tests it is seldom useful to have ethernet enabled. Add a way
to disable it, so that ethernet operations like tftpboot do nothing.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/state.c
arch/sandbox/include/asm/state.h
arch/sandbox/include/asm/test.h
include/test/test.h
net/net.c