u-boot/arch/sandbox
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 sandbox: Allow use of real I/O with readl(), etc. 2019-10-08 13:57:41 +08:00
dts sandbox: pci: Increase the memory space 2019-10-08 13:57:41 +08:00
include/asm sandbox: Allow use of real I/O with readl(), etc. 2019-10-08 13:57:41 +08:00
lib sandbox: Add support for clrsetio_32() and friends 2019-10-08 13:57:40 +08:00
config.mk sandbox: Allo sdl-config to be overridden 2019-07-10 16:52:58 -06:00
Kconfig sandbox: Add 64-bit sandbox 2018-02-18 15:53:48 -07:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00