summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2011-10-06 10:55:04 +0300
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:26 -0800
commit753cdc02611cd5792dcee1b805b470aceae9f28d (patch)
treec015062fd187c3be3f41ee72990758c6daa6e6d1 /drivers
parentd229bde19ad403fb74c72ff8fb253f87c91cf714 (diff)
arm: tegra: Make kernel buildable without nvhost
Cuts dependencies to nvhost by adding a Kconfig dependency from DC to GRHOST and from HD Audio to DC. Configure out calls to nvhost in board panel files if GRHOST is not present. Bug 870898 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Change-Id: If7830528e321e951bcadc2a10515e6cab58a6cdf Reviewed-on: http://git-master/r/56370 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Tested-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Chris Dragan <kdragan@nvidia.com> Rebase-Id: R16d9286d67235b0697c914476e7d6462eec7f3ac
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/tegra/nvavp/Kconfig2
-rw-r--r--drivers/video/tegra/Kconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tegra/nvavp/Kconfig b/drivers/media/video/tegra/nvavp/Kconfig
index 66d7c860cdcf..2d3af3f79fb3 100644
--- a/drivers/media/video/tegra/nvavp/Kconfig
+++ b/drivers/media/video/tegra/nvavp/Kconfig
@@ -1,6 +1,6 @@
config TEGRA_NVAVP
bool "Enable support for Tegra NVAVP driver"
- depends on ARCH_TEGRA
+ depends on ARCH_TEGRA && TEGRA_GRHOST
default n
help
Enables support for the push-buffer mechanism based driver for the Tegra
diff --git a/drivers/video/tegra/Kconfig b/drivers/video/tegra/Kconfig
index 16c5c605bf94..dcfac3bd8835 100644
--- a/drivers/video/tegra/Kconfig
+++ b/drivers/video/tegra/Kconfig
@@ -10,7 +10,7 @@ config TEGRA_GRHOST
config TEGRA_DC
tristate "Tegra Display Contoller"
- depends on ARCH_TEGRA
+ depends on ARCH_TEGRA && TEGRA_GRHOST
select FB_MODE_HELPERS
select I2C
help