mailbox: implement a sandbox test
authorStephen Warren <swarren@nvidia.com>
Mon, 16 May 2016 23:41:37 +0000 (17:41 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 27 May 2016 02:48:31 +0000 (20:48 -0600)
commit8961b524240f40ac2fefcdee0818af10899832f2
treed13503756fd56b2aa19a3fa2fd505575bc72e7e1
parent6238935d018042d332aa7e90eae3addfeb11abdc
mailbox: implement a sandbox test

This adds a sandbox mailbox implementation (provider), a test client
device, instantiates them both from Sandbox's DT, and adds a DM test
that excercises everything.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org> # v1
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/mbox.h [new file with mode: 0644]
configs/sandbox_defconfig
drivers/mailbox/Kconfig
drivers/mailbox/Makefile
drivers/mailbox/sandbox-mbox-test.c [new file with mode: 0644]
drivers/mailbox/sandbox-mbox.c [new file with mode: 0644]
test/dm/Makefile
test/dm/mailbox.c [new file with mode: 0644]