aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/android/ion/Kconfig
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2013-11-07 16:08:52 -0800
committerJohn Stultz <john.stultz@linaro.org>2014-01-14 12:47:49 -0800
commit984f4ccce87f652d2effeb5cbaf87a9c16c869d9 (patch)
tree02757c238c508fa9b395965d725def2cc7b7a80f /drivers/staging/android/ion/Kconfig
parentb77f9f883dea9d7c73687bb400d5f8ce89aea182 (diff)
ion: Add dummy driver for testing
Provide a basic dummy driver to register the ion device and to install basic SYSTEM and SYSTEM_CONTIG heaps. This allows for basic testing with ION without having access to drivers or systems that have been enabled to use ION. Cc: Colin Cross <ccross@android.com> Cc: Greg KH <gregkh@linuxfoundation.org> Cc: Jesse Barker <jesse.barker@arm.com> Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/staging/android/ion/Kconfig')
-rw-r--r--drivers/staging/android/ion/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig
index a9a64ea2343..0f8fec1f84e 100644
--- a/drivers/staging/android/ion/Kconfig
+++ b/drivers/staging/android/ion/Kconfig
@@ -17,6 +17,16 @@ config ION_TEST
Choose this option to create a device that can be used to test the
kernel and device side ION functions.
+config ION_DUMMY
+ bool "Dummy Ion driver"
+ depends on ION
+ help
+ Provides a dummy ION driver that registers the
+ /dev/ion device and some basic heaps. This can
+ be used for testing the ION infrastructure if
+ one doesn't have access to hardware drivers that
+ use ION.
+
config ION_TEGRA
tristate "Ion for Tegra"
depends on ARCH_TEGRA && ION