diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-30 23:37:54 (GMT) |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2016-02-16 16:17:52 (GMT) |
commit | 40d56a918c400d6d9b7805c3b30bd310e074c850 (patch) | |
tree | 864d828a88dc4fbff3a39ed0a8deaf537342dff2 /drivers | |
parent | 71cafc3fba4d91722375b0ea2213c494f36356d4 (diff) | |
download | u-boot-40d56a918c400d6d9b7805c3b30bd310e074c850.tar.xz |
tegra: video: Move the check for CONFIG_OF_CONTROL to Kconfig
We can check this in Kconfig now.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/Kconfig | 1 | ||||
-rw-r--r-- | drivers/video/tegra.c | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index b6c0e3c..ff4179f 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -383,6 +383,7 @@ config VIDEO_SANDBOX_SDL config VIDEO_TEGRA20 bool "Enable LCD support on Tegra20" + depends on OF_CONTROL help Tegra20 supports video output to an attached LCD panel as well as other options such as HDMI. Only the LCD is supported in U-Boot. diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c index 5b8d623..fc70beb 100644 --- a/drivers/video/tegra.c +++ b/drivers/video/tegra.c @@ -51,10 +51,6 @@ vidinfo_t panel_info = { .vl_col = -1, }; -#if !CONFIG_IS_ENABLED(OF_CONTROL) -#error "You must enable CONFIG_OF_CONTROL to get Tegra LCD support" -#endif - static void update_window(struct dc_ctlr *dc, struct disp_ctl_win *win) { unsigned h_dda, v_dda; |