1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

reset: add sandbox test for bulk API

This patch adds the bulk reset API tests for the sandbox test suite.

Unlike the main test, it also check the "other" reset signal using the bulk API
and checks if the resets are correctly asserted/deasserted.

To allow the bulk API to work, and avoid changing the DT, the number of resets
of the sandbox reset controller has been bumped to 101 for the "other" reset
line to be valid.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Neil Armstrong
2018-04-03 11:40:51 +02:00
committed by Tom Rini
parent 0c28233903
commit 91f5f8b73c
4 changed files with 67 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
#include <asm/io.h>
#include <asm/reset.h>
#define SANDBOX_RESET_SIGNALS 3
#define SANDBOX_RESET_SIGNALS 101
struct sandbox_reset_signal {
bool asserted;