sandbox: Add PCI driver and test for p2sb
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:41:57 +0000 (21:41 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:11 +0000 (11:44 +0800)
commit3e17ffbb44cd24c53504179ff51a835502b183ed
tree5e70600eb19d603a8b795eb0fdb8edc6ac745981
parent89694de514387e87385aa0f111ed76ab91ba20a3
sandbox: Add PCI driver and test for p2sb

Add a sandbox driver and PCI-device emulator for p2sb. Also add a test
which uses a simple 'adder' driver to test the p2sb functionality.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
13 files changed:
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/test.h
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
configs/sandbox_spl_defconfig
configs/tools-only_defconfig
drivers/misc/Makefile
drivers/misc/p2sb_emul.c [new file with mode: 0644]
drivers/misc/p2sb_sandbox.c [new file with mode: 0644]
drivers/misc/sandbox_adder.c [new file with mode: 0644]
test/dm/Makefile
test/dm/p2sb.c [new file with mode: 0644]