public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3
@ 2012-07-10 16:07 Peter Meerwald
  2012-07-10 18:14 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Meerwald @ 2012-07-10 16:07 UTC (permalink / raw)
  To: u-boot

From: Peter Meerwald <p.meerwald@bct-electronic.com>

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
---
 board/ti/beagle/beagle.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index a02a350..f13f1be 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -245,6 +245,7 @@ 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
@@ -299,6 +300,7 @@ static void beagle_dvi_pup(void)
 		break;
 	}
 }
+#endif
 
 /*
  * Routine: misc_init_r
@@ -483,9 +485,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;
 }
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-12 18:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-10 16:07 [U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3 Peter Meerwald
2012-07-10 18:14 ` Tom Rini
2012-07-10 18:21   ` Peter Meerwald
2012-07-12 18:27     ` Albert ARIBAUD
2012-07-12 18:39       ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox