aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPeter Meerwald <p.meerwald@bct-electronic.com>2012-07-10 06:07:34 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-08-05 22:02:36 +0200
commit501b9abc3de2249421f268030024ef07059cd0e4 (patch)
treef6bb1d8736dce25df7e6aec58e055225b49904c9 /board
parent336fa86a6ed6ed07a3cac95c15cd70a24f0f3493 (diff)
beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Diffstat (limited to 'board')
-rw-r--r--board/ti/beagle/beagle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 2b61cb89e..99f833f04 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -228,6 +228,7 @@ static unsigned int get_expansion_id(void)
return expansion_config.device_vendor;
}
+#ifdef CONFIG_VIDEO_OMAP3
/*
* Configure DSS to display background color on DVID
* Configure VENC to display color bar on S-Video
@@ -282,6 +283,7 @@ static void beagle_dvi_pup(void)
break;
}
}
+#endif
/*
* Routine: misc_init_r
@@ -458,9 +460,11 @@ int misc_init_r(void)
dieid_num_r();
+#ifdef CONFIG_VIDEO_OMAP3
beagle_dvi_pup();
beagle_display_init();
omap3_dss_enable();
+#endif
return 0;
}