summaryrefslogtreecommitdiff
path: root/drivers/mailbox/Kconfig
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-05-16 17:41:37 -0600
committerSimon Glass <sjg@chromium.org>2016-05-26 20:48:31 -0600
commit8961b524240f40ac2fefcdee0818af10899832f2 (patch)
treed13503756fd56b2aa19a3fa2fd505575bc72e7e1 /drivers/mailbox/Kconfig
parent6238935d018042d332aa7e90eae3addfeb11abdc (diff)
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
Diffstat (limited to 'drivers/mailbox/Kconfig')
-rw-r--r--drivers/mailbox/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 295e6db0f2..9087512390 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -10,4 +10,11 @@ config DM_MAILBOX
the basis of a variety of inter-process/inter-CPU communication
protocols.
+config SANDBOX_MBOX
+ bool "Enable the sandbox mailbox test driver"
+ depends on DM_MAILBOX && SANDBOX
+ help
+ Enable support for a test mailbox implementation, which simply echos
+ back a modified version of any message that is sent.
+
endmenu