Re: [U-Boot] [PATCH v3 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-26 Thread Nikita Kiryanov
Hi Hannes, On 03/25/2015 11:24 PM, Hannes Petermaier wrote: +static void console_calc_rowcol(struct console_t *pcons) +{ +pcons-cols = pcons-lcdsizex / VIDEO_FONT_WIDTH; +#if defined(CONFIG_LCD_LOGO) !defined(CONFIG_LCD_INFO_BELOW_LOGO) +pcons-rows = (pcons-lcdsizey - BMP_LOGO_HEIGHT);

Re: [U-Boot] [PATCH v3 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-25 Thread Nikita Kiryanov
Hi Hannes, This is almost an Acked-By from me, just a few final comments: On 03/19/2015 10:37 AM, Hannes Petermaier wrote: From: Hannes Petermaier hannes.peterma...@br-automation.com Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated

Re: [U-Boot] [PATCH v3 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-25 Thread Hannes Petermaier
On 2015-03-25 17:24, Nikita Kiryanov wrote: Hi Hannes, Hi Nikita, This is almost an Acked-By from me, just a few final comments: Perfect, i think with v4 we can finish the thing :-) On 03/19/2015 10:37 AM, Hannes Petermaier wrote: diff --git a/README b/README index b0124d6..c649de1

[U-Boot] [PATCH v3 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degrees, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages