aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vc04_services/Kconfig
diff options
context:
space:
mode:
authorMichael Zoran <mzoran@crowfest.net>2017-03-01 19:10:47 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-06 14:02:03 +0100
commit6bbfe4a761583d60eb16aee3d9d2817e29167305 (patch)
tree7fabbe1edecef5eee62bcbfd974769d6ca8890f6 /drivers/staging/vc04_services/Kconfig
parentstaging: bcm2835-camera: prefer allocating memory using sizeof(*ptr) instead of sizeof(struct type name) (diff)
downloadlinux-dev-6bbfe4a761583d60eb16aee3d9d2817e29167305.tar.xz
linux-dev-6bbfe4a761583d60eb16aee3d9d2817e29167305.zip
staging: vc04_services: Create new BCM_VIDEOCORE setting for VideoCore services.
Create a new memuconfig for Broadcom VideoCore services since VideoCore is a general term used by Broadcom for a large family of products that includes more then the BCM2835. Signed-off-by: Michael Zoran <mzoran@crowfest.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services/Kconfig')
-rw-r--r--drivers/staging/vc04_services/Kconfig15
1 files changed, 11 insertions, 4 deletions
diff --git a/drivers/staging/vc04_services/Kconfig b/drivers/staging/vc04_services/Kconfig
index 3b576b0b49ae..eb52cec18c87 100644
--- a/drivers/staging/vc04_services/Kconfig
+++ b/drivers/staging/vc04_services/Kconfig
@@ -1,16 +1,23 @@
-menuconfig BCM2835_VCHIQ
- tristate "Videocore VCHIQ"
+menuconfig BCM_VIDEOCORE
+ bool "Broadcom VideoCore support"
depends on HAS_DMA
depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
default y
help
+ Support for Broadcom VideoCore services including
+ the BCM2835 family of products which is used
+ by the Raspberry PI.
+
+if BCM_VIDEOCORE
+
+config BCM2835_VCHIQ
+ tristate "BCM2835 VCHIQ"
+ help
Kernel to VideoCore communication interface for the
BCM2835 family of products.
Defaults to Y when the Broadcom Videocore services
are included in the build, N otherwise.
-if BCM2835_VCHIQ
-
source "drivers/staging/vc04_services/bcm2835-audio/Kconfig"
source "drivers/staging/vc04_services/bcm2835-camera/Kconfig"