]> git.sur5r.net Git - u-boot/commitdiff
beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3
authorPeter Meerwald <p.meerwald@bct-electronic.com>
Tue, 10 Jul 2012 06:07:34 +0000 (06:07 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:10 +0000 (14:58 +0200)
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
board/ti/beagle/beagle.c

index 2b61cb89effe81fd827b2f5bcae78a4a9cc67f4a..99f833f0410ac197d1bfab8e6a5f4ae99beedc23 100644 (file)
@@ -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;
 }