u-boot/arch/sandbox/cpu
Simon Glass e77663cf74 sandbox: Allow use of real I/O with readl(), etc.
At present these functions are stubbed out. For more comprehensive testing
with PCI devices it is useful to be able to fully emulate I/O access. Add
simple implementations for these.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: change to use 'const void *' in sandbox_write();
        cast 'addr' in read/write macros in arch/sandbox/include/asm/io.h;
        remove the unnecessary cast in readq/writeq in nvme.h]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2019-10-08 13:57:41 +08:00
..
cpu.c sandbox: Allow use of real I/O with readl(), etc. 2019-10-08 13:57:41 +08:00
eth-raw-os.c sandbox: Use malloc() and free() from os layer 2018-11-26 08:25:37 -05:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00
os.c sandbox: Correct maths in allocation routines 2019-04-23 20:26:43 -06:00
sdl.c sandbox: Correct SDL build flags 2019-01-14 17:47:13 -07:00
spl.c spl: Add an arch-specific hook for writing to SPL handoff 2019-10-08 13:51:03 +08:00
start.c sandbox: Add a -T flag to use the test device tree 2019-10-08 13:57:41 +08:00
state.c sysreset: switch to using SYSRESET_POWER_OFF for poweroff 2019-08-19 12:43:26 +08:00
u-boot-spl.lds sandbox: Add an option to display of-platdata in SPL 2018-11-26 08:25:35 -05:00
u-boot.lds Partially revert "efi_loader: Rename sections to allow for implicit data" 2018-08-23 16:17:41 -04:00