]> git.dujemihanovic.xyz Git - u-boot.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)
commitf43b2df3e068cc7be1aa5656c0c3223e270bba63
tree9c29daf5a2cd8180687b3ee4887bca40923bb658
parentb85fc8dbabd7c027ad7ad6133578a0d679dbe2ba
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