From 2c30c1848742af9ae880870794c7e93660c31e52 Mon Sep 17 00:00:00 2001 From: Peter Meerwald Date: Tue, 10 Jul 2012 06:07:34 +0000 Subject: beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3 Signed-off-by: Peter Meerwald --- board/ti/beagle/beagle.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 2b61cb89ef..99f833f041 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; } -- cgit v1.2.3