summaryrefslogtreecommitdiff
path: root/test/dm/rtc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-19 02:09:13 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-01 13:03:09 (GMT)
commit34b744beb866c9ae660f2851f9776f80e165d421 (patch)
tree33aef867d123887f4171a8fd2baa3432a7b1a1dd /test/dm/rtc.c
parenta40cc8e12352ee35d095d29125fedd2eb2821228 (diff)
downloadu-boot-34b744beb866c9ae660f2851f9776f80e165d421.tar.xz
sandbox: Add a way to reset sandbox state for tests
Running a new test should reset the sandbox state to avoid tests interferring with each other. Move the existing state-reset code into a function so it can be used from tests. Also update the code to reset the SPI devices and adjust the test code to call it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/rtc.c')
0 files changed, 0 insertions, 0 deletions