* [U-Boot] [PATCH] common/lcd_simplefb: Add support for 32bit organized framebuffers
@ 2015-04-24 12:51 Hannes Petermaier
2015-04-24 22:30 ` [U-Boot] [PATCH v2] " Hannes Petermaier
0 siblings, 1 reply; 3+ messages in thread
From: Hannes Petermaier @ 2015-04-24 12:51 UTC (permalink / raw)
To: u-boot
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
---
common/lcd_simplefb.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/common/lcd_simplefb.c b/common/lcd_simplefb.c
index 8db2add..7153c40 100644
--- a/common/lcd_simplefb.c
+++ b/common/lcd_simplefb.c
@@ -16,11 +16,14 @@ DECLARE_GLOBAL_DATA_PTR;
static int lcd_dt_simplefb_configure_node(void *blob, int off)
{
-#if LCD_BPP == LCD_COLOR16
int vl_col = lcd_get_pixel_width();
int vl_row = lcd_get_pixel_height();
+#if LCD_BPP == LCD_COLOR16
return fdt_setup_simplefb_node(blob, off, gd->fb_base, vl_col, vl_row,
vl_col * 2, "r5g6b5");
+#elif LCD_BPP == LCD_COLOR32
+ return fdt_setup_simplefb_node(blob, off, gd->fb_base, vl_col, vl_row,
+ vl_col * 4, "a8b8g8r8");
#else
return -1;
#endif
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH v2] common/lcd_simplefb: Add support for 32bit organized framebuffers
2015-04-24 12:51 [U-Boot] [PATCH] common/lcd_simplefb: Add support for 32bit organized framebuffers Hannes Petermaier
@ 2015-04-24 22:30 ` Hannes Petermaier
2015-07-23 16:21 ` Anatolij Gustschin
0 siblings, 1 reply; 3+ messages in thread
From: Hannes Petermaier @ 2015-04-24 22:30 UTC (permalink / raw)
To: u-boot
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
---
Changes in v2:
- correct mistake in color order
common/lcd_simplefb.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/common/lcd_simplefb.c b/common/lcd_simplefb.c
index 8db2add..2ba00f6 100644
--- a/common/lcd_simplefb.c
+++ b/common/lcd_simplefb.c
@@ -16,11 +16,14 @@ DECLARE_GLOBAL_DATA_PTR;
static int lcd_dt_simplefb_configure_node(void *blob, int off)
{
-#if LCD_BPP == LCD_COLOR16
int vl_col = lcd_get_pixel_width();
int vl_row = lcd_get_pixel_height();
+#if LCD_BPP == LCD_COLOR16
return fdt_setup_simplefb_node(blob, off, gd->fb_base, vl_col, vl_row,
vl_col * 2, "r5g6b5");
+#elif LCD_BPP == LCD_COLOR32
+ return fdt_setup_simplefb_node(blob, off, gd->fb_base, vl_col, vl_row,
+ vl_col * 4, "a8r8g8b8");
#else
return -1;
#endif
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH v2] common/lcd_simplefb: Add support for 32bit organized framebuffers
2015-04-24 22:30 ` [U-Boot] [PATCH v2] " Hannes Petermaier
@ 2015-07-23 16:21 ` Anatolij Gustschin
0 siblings, 0 replies; 3+ messages in thread
From: Anatolij Gustschin @ 2015-07-23 16:21 UTC (permalink / raw)
To: u-boot
Hi,
On Sat, 25 Apr 2015 00:30:21 +0200
Hannes Petermaier <oe5hpm@oevsv.at> wrote:
> Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
> ---
>
> Changes in v2:
> - correct mistake in color order
>
> common/lcd_simplefb.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
applied to u-boot-video/master.
Thanks,
Anatolij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-23 16:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-24 12:51 [U-Boot] [PATCH] common/lcd_simplefb: Add support for 32bit organized framebuffers Hannes Petermaier
2015-04-24 22:30 ` [U-Boot] [PATCH v2] " Hannes Petermaier
2015-07-23 16:21 ` Anatolij Gustschin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox