public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] ARM: Don't grab memory for LCD if FB address is defined
@ 2011-03-08  4:50 Minkyu Kang
  2011-03-13 19:50 ` Wolfgang Denk
  0 siblings, 1 reply; 12+ messages in thread
From: Minkyu Kang @ 2011-03-08  4:50 UTC (permalink / raw)
  To: u-boot

If FB address is defined specific address then don't grab memory for LCD

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Cc: Albert Aribaud <albert.aribaud@free.fr>
---
 arch/arm/lib/board.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index c620d2c..5a4d2bd 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -356,9 +356,13 @@ void board_init_f (ulong bootflag)
 #endif /* CONFIG_VFD */
 
 #ifdef CONFIG_LCD
+#ifdef CONFIG_FB_ADDR
+	gd->fb_base = CONFIG_FB_ADDR;
+#else
 	/* reserve memory for LCD display (always full pages) */
 	addr = lcd_setmem (addr);
 	gd->fb_base = addr;
+#endif /* CONFIG_FB_ADDR */
 #endif /* CONFIG_LCD */
 
 	/*
-- 
1.7.1

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

end of thread, other threads:[~2011-04-25  8:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08  4:50 [U-Boot] [PATCH 1/3] ARM: Don't grab memory for LCD if FB address is defined Minkyu Kang
2011-03-13 19:50 ` Wolfgang Denk
2011-03-15  2:16   ` Minkyu Kang
2011-03-15  8:35     ` [U-Boot] [PATCH v2] " Minkyu Kang
2011-03-24 14:38       ` Albert ARIBAUD
2011-03-25  0:50         ` [U-Boot] [PATCH v3] " Minkyu Kang
2011-03-27 16:13           ` Albert ARIBAUD
2011-04-24 23:28             ` Wolfgang Denk
2011-04-24 23:27           ` Wolfgang Denk
2011-04-25  7:38             ` Albert ARIBAUD
2011-04-25  7:53               ` Minkyu Kang
2011-04-25  8:22                 ` [U-Boot] [PATCH v4] " Minkyu Kang

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