Skip to content
Snippets Groups Projects
Commit 40d56a91 authored by Simon Glass's avatar Simon Glass Committed by Tom Warren
Browse files

tegra: video: Move the check for CONFIG_OF_CONTROL to Kconfig


We can check this in Kconfig now.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarAnatolij Gustschin <agust@denx.de>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent 71cafc3f
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment