public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] video: atmel: implement lcd_setcolreg funtion
@ 2012-10-29  7:00 Bo Shen
  2012-11-05  9:38 ` Andreas Bießmann
  0 siblings, 1 reply; 3+ messages in thread
From: Bo Shen @ 2012-10-29  7:00 UTC (permalink / raw)
  To: u-boot


Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
 drivers/video/atmel_hlcdfb.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c
index beb7fa3..4110d4d 100644
--- a/drivers/video/atmel_hlcdfb.c
+++ b/drivers/video/atmel_hlcdfb.c
@@ -51,6 +51,12 @@ short console_row;
 #define lcdc_readl(reg)		__raw_readl((reg))
 #define lcdc_writel(reg, val)	__raw_writel((val), (reg))
 
+void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue)
+{
+	lcdc_writel((red << 16) | (green << 8) | blue,
+			panel_info.mmio + ATMEL_LCDC_LUT(regno));
+}
+
 void lcd_ctrl_init(void *lcdbase)
 {
 	unsigned long value;
-- 
1.7.9.5

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

* [U-Boot] [PATCH] video: atmel: implement lcd_setcolreg funtion
  2012-10-29  7:00 [U-Boot] [PATCH] video: atmel: implement lcd_setcolreg funtion Bo Shen
@ 2012-11-05  9:38 ` Andreas Bießmann
  2012-11-06  9:25   ` Andreas Bießmann
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Bießmann @ 2012-11-05  9:38 UTC (permalink / raw)
  To: u-boot

Dear Bo Shen,

On 29.10.2012 08:00, Bo Shen wrote:
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
>  drivers/video/atmel_hlcdfb.c |    6 ++++++
>  1 file changed, 6 insertions(+)

Applied to u-boot-atmel/master, thanks!

Best regards

Andreas Bie?mann

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

* [U-Boot] [PATCH] video: atmel: implement lcd_setcolreg funtion
  2012-11-05  9:38 ` Andreas Bießmann
@ 2012-11-06  9:25   ` Andreas Bießmann
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Bießmann @ 2012-11-06  9:25 UTC (permalink / raw)
  To: u-boot

Dear Bo Shen,

On 05.11.2012 10:38, Andreas Bie?mann wrote:
> Dear Bo Shen,
> 
> On 29.10.2012 08:00, Bo Shen wrote:
>> Signed-off-by: Bo Shen <voice.shen@atmel.com>
>> ---
>>  drivers/video/atmel_hlcdfb.c |    6 ++++++
>>  1 file changed, 6 insertions(+)
> 
> Applied to u-boot-atmel/master, thanks!
> 

Patch was removed from u-boot-atmel/master due to NAK from ARM
custodian. Please read
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/146403
I will take your patch and send a series with the common/lcd.c changes
to the list.

Best regards

Andreas Bie?mann

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

end of thread, other threads:[~2012-11-06  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29  7:00 [U-Boot] [PATCH] video: atmel: implement lcd_setcolreg funtion Bo Shen
2012-11-05  9:38 ` Andreas Bießmann
2012-11-06  9:25   ` Andreas Bießmann

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