Skip to content
Snippets Groups Projects
Commit 89694de5 authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

sandbox: Disable mmio by default in tests


When reseting sandbox for tests, disable mmio support since that is the
default state.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 5bee27aa
No related branches found
No related tags found
Loading
......@@ -356,6 +356,7 @@ void state_reset_for_test(struct sandbox_state *state)
/* No reset yet, so mark it as such. Always allow power reset */
state->last_sysreset = SYSRESET_COUNT;
state->sysreset_allowed[SYSRESET_POWER_OFF] = true;
state->allow_memio = false;
memset(&state->wdt, '\0', sizeof(state->wdt));
memset(state->spi, '\0', sizeof(state->spi));
......
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