u-boot/arch/sandbox/include/asm
Simon Glass 34b744beb8 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>
2017-06-01 07:03:09 -06:00
..
bitops.h sandbox: Use the generic bitops headers 2015-11-05 10:52:14 -05:00
byteorder.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
cache.h sandbox: Enable many more commands 2016-04-15 08:14:37 -06:00
clk.h clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
config.h sandbox: Set up global data before board_init_f() 2014-07-23 14:05:39 +01:00
eth-raw-os.h sandbox: eth: Add support for using the 'lo' interface 2015-04-18 11:11:14 -06:00
eth.h sandbox: eth: Add a function to skip ping timeouts 2015-05-05 20:58:18 -06:00
getopt.h sandbox: Rename sb_cmdline_option to sandbox_cmdline_option 2013-12-09 12:22:02 -07:00
global_data.h sandbox: Allow reading/writing of RAM buffer 2014-01-08 17:25:03 -07:00
gpio.h sandbox: gpio: doc: Fix parameter documentation 2016-06-19 17:05:55 -06:00
io.h sandbox: Use the address in readl/writel() functions 2016-10-11 10:17:08 -06:00
linkage.h efi: Use asmlinkage for EFIAPI 2016-10-19 09:01:53 +02:00
mbox.h mailbox: implement a sandbox test 2016-05-26 20:48:31 -06:00
posix_types.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
power-domain.h Add a power domain framework/uclass 2016-07-27 16:29:56 -06:00
processor.h dm: sandbox: pci: Add PCI support for sandbox 2015-04-16 19:27:43 -06:00
ptrace.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
reset.h reset: implement a reset test 2016-06-19 17:05:55 -06:00
rtc.h dm: rtc: sandbox: Add an emulated I2C RTC device 2015-05-05 20:58:39 -06:00
sdl.h sandbox: Add SDL library for LCD, keyboard, audio 2014-03-17 20:05:48 -06:00
sections.h sandbox: Rename sb_cmdline_option to sandbox_cmdline_option 2013-12-09 12:22:02 -07:00
sound.h build: define CPU only when arch/${ARCH}/cpu/${CPU} exists 2014-07-07 19:42:34 -04:00
spi.h dm: sf: sandbox: Convert SPI flash driver to driver model 2014-10-22 10:36:51 -06:00
spl.h spl: Move spl_board_load_image() into a generic header 2016-10-06 14:48:14 -04:00
state.h sandbox: Add a way to reset sandbox state for tests 2017-06-01 07:03:09 -06:00
string.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
system.h sandbox: change local_irq_save() to macro 2014-06-23 15:37:24 -06:00
test.h clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
types.h sandbox: Change CONFIG_SANDBOX_BITS_PER_LONG to hard-coded 2017-04-13 09:41:09 -04:00
u-boot-sandbox.h sandbox: Use the reset driver to handle reset 2015-07-21 17:39:31 -06:00
u-boot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
unaligned.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00