<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/lcd.h, branch v2016.01-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>common/lcd_console: introduce display/framebuffer rotation</title>
<updated>2015-04-18T15:40:37+00:00</updated>
<author>
<name>Hannes Petermaier</name>
<email>hannes.petermaier@br-automation.com</email>
</author>
<published>2015-03-27T07:01:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=604c7d4a5a3cf70949f6e6094bf0d52ee3b4804d'/>
<id>604c7d4a5a3cf70949f6e6094bf0d52ee3b4804d</id>
<content type='text'>
Sometimes, for example if the display is mounted in portrait mode or even if it
is 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
which are printed out.

For this we introduce the feature called "CONFIG_LCD_ROTATION", this may be
defined in the board-configuration if needed. After this the lcd_console will
be initialized with a given rotation from "vl_rot" out of "vidinfo_t" which is
provided by the board specific code.

If CONFIG_LCD_ROTATION is not defined, the console will be initialized with
0 degrees rotation.

Signed-off-by: Hannes Petermaier &lt;hannes.petermaier@br-automation.com&gt;
Signed-off-by: Hannes Petermaier &lt;oe5hpm@oevsv.at&gt;
Acked-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
[agust: fixed 'struct vidinfo' has no member named 'vl_rot' errors]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes, for example if the display is mounted in portrait mode or even if it
is 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
which are printed out.

For this we introduce the feature called "CONFIG_LCD_ROTATION", this may be
defined in the board-configuration if needed. After this the lcd_console will
be initialized with a given rotation from "vl_rot" out of "vidinfo_t" which is
provided by the board specific code.

If CONFIG_LCD_ROTATION is not defined, the console will be initialized with
0 degrees rotation.

Signed-off-by: Hannes Petermaier &lt;hannes.petermaier@br-automation.com&gt;
Signed-off-by: Hannes Petermaier &lt;oe5hpm@oevsv.at&gt;
Acked-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
[agust: fixed 'struct vidinfo' has no member named 'vl_rot' errors]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: dt: extract simplefb support</title>
<updated>2015-02-10T12:31:26+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2015-02-03T11:32:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=033167c4c5a9a31768f690353ce26be021ad9c36'/>
<id>033167c4c5a9a31768f690353ce26be021ad9c36</id>
<content type='text'>
We now have api functions that can support compiling simplefb code as its own
module. Since this code is not part of the display functionality, extract it
to its own file.

Raspberry Pi is updated to accommodate the changes.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Acked-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Tested-by: Josh Wu &lt;josh.wu@atmel.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We now have api functions that can support compiling simplefb code as its own
module. Since this code is not part of the display functionality, extract it
to its own file.

Raspberry Pi is updated to accommodate the changes.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Acked-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Tested-by: Josh Wu &lt;josh.wu@atmel.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: various cleanups</title>
<updated>2015-02-10T12:30:20+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2015-02-03T11:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c8d2febcc7e328d1c4bb11131ecd0b9cbab2f4fb'/>
<id>c8d2febcc7e328d1c4bb11131ecd0b9cbab2f4fb</id>
<content type='text'>
This cleanup mostly focuses on removing unnecessary whitespace and comments
which are superfluous and/or do not conform to the coding style.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Tested-by: Josh Wu &lt;josh.wu@atmel.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This cleanup mostly focuses on removing unnecessary whitespace and comments
which are superfluous and/or do not conform to the coding style.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Tested-by: Josh Wu &lt;josh.wu@atmel.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: split configuration_get_cmap</title>
<updated>2015-02-10T12:25:08+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2015-02-03T11:32:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=38b550877fd819ce7842b73530dcbacc098c9f0f'/>
<id>38b550877fd819ce7842b73530dcbacc098c9f0f</id>
<content type='text'>
configuration_get_cmap() is multiple platform-specific functions stuffed into
one function. Split it into multiple versions, and move each version to the
appropriate driver to reduce the #ifdef complexity.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Tested-by: Josh Wu &lt;josh.wu@atmel.com&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
configuration_get_cmap() is multiple platform-specific functions stuffed into
one function. Split it into multiple versions, and move each version to the
appropriate driver to reduce the #ifdef complexity.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Tested-by: Josh Wu &lt;josh.wu@atmel.com&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: move platform-specific structs to their own headers</title>
<updated>2015-02-10T12:24:10+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2015-02-03T11:32:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=baaa7dd7061521509792ca158508b2c4554a7184'/>
<id>baaa7dd7061521509792ca158508b2c4554a7184</id>
<content type='text'>
common/lcd code is full of platform-specific code and definitions, which
ideally should reside with the respective driver code. Take a step towards that
goal by moving platform-specific structs from lcd.h to their own header files.

The structs for the generic case (the #else for all the platform-specific
cases) is retained in lcd.h as the default case.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Tested-by: Josh Wu &lt;josh.wu@atmel.com&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
common/lcd code is full of platform-specific code and definitions, which
ideally should reside with the respective driver code. Take a step towards that
goal by moving platform-specific structs from lcd.h to their own header files.

The structs for the generic case (the #else for all the platform-specific
cases) is retained in lcd.h as the default case.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Tested-by: Josh Wu &lt;josh.wu@atmel.com&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: refactor lcd console stuff into its own file</title>
<updated>2015-01-10T16:53:59+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2014-12-08T15:14:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=904672ee489280cf26793e0a590505a2659dae09'/>
<id>904672ee489280cf26793e0a590505a2659dae09</id>
<content type='text'>
common/lcd.c is a mix of code portions that do different but related
things. To improve modularity, the various code portions should be split
into their own modules. Separate lcd console code into its own file.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
common/lcd.c is a mix of code portions that do different but related
things. To improve modularity, the various code portions should be split
into their own modules. Separate lcd console code into its own file.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: introduce getters for bg/fg color</title>
<updated>2015-01-10T16:53:12+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2014-12-08T15:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4d03634e5da40dc092b6e5b985f74aedfe04f81e'/>
<id>4d03634e5da40dc092b6e5b985f74aedfe04f81e</id>
<content type='text'>
Introduce lcd_getbgcolor() and lcd_getfgcolor(), and use them where
applicable.

This is a preparatory step for extracting lcd console code into its own
file.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce lcd_getbgcolor() and lcd_getfgcolor(), and use them where
applicable.

This is a preparatory step for extracting lcd console code into its own
file.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: remove LCD_MONOCHROME</title>
<updated>2015-01-10T16:50:04+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2014-12-08T15:14:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f4469f50b0367820121ef2d313517d422ed70e1d'/>
<id>f4469f50b0367820121ef2d313517d422ed70e1d</id>
<content type='text'>
No one is using LCD_MONOCHROME; remove related code.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No one is using LCD_MONOCHROME; remove related code.

Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>powerpc: remove orphaned boards mcc200 and prs200</title>
<updated>2014-11-12T18:02:22+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2014-11-11T13:46:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ecfdcee5d9299624c57f0118b137d06d376c115a'/>
<id>ecfdcee5d9299624c57f0118b137d06d376c115a</id>
<content type='text'>
mcc200 and prs200 are old and have no maintainer. Remove the boards.

This also removes the mcc200 specific 1bpp BMP support from
common/lcd.c

Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: York Sun &lt;yorksun@freescale.com&gt;
Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mcc200 and prs200 are old and have no maintainer. Remove the boards.

This also removes the mcc200 specific 1bpp BMP support from
common/lcd.c

Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: York Sun &lt;yorksun@freescale.com&gt;
Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: cleanup unused functions</title>
<updated>2014-08-10T13:25:19+00:00</updated>
<author>
<name>Hannes Petermaier</name>
<email>oe5hpm@oevsv.at</email>
</author>
<published>2014-03-07T17:45:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8d9eaafdd12991b92c265ae6380972bc3afea41c'/>
<id>8d9eaafdd12991b92c265ae6380972bc3afea41c</id>
<content type='text'>
This patch removes following two functions:
- lcd_getbgcolor(...)
  not used somewhere outside lcd.c, internally we use now the global
  variable lcd_color_bg (was return value of function before)
- lcd_getfgcolor(...)
  not used in any place of u-boot

Signed-off-by: Hannes Petermaier &lt;oe5hpm@oevsv.at&gt;
[agust: rebased]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes following two functions:
- lcd_getbgcolor(...)
  not used somewhere outside lcd.c, internally we use now the global
  variable lcd_color_bg (was return value of function before)
- lcd_getfgcolor(...)
  not used in any place of u-boot

Signed-off-by: Hannes Petermaier &lt;oe5hpm@oevsv.at&gt;
[agust: rebased]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
