<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/lcd.c, branch v2013.04</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>video: bcm2835: fix build issues</title>
<updated>2013-03-29T13:29:39+00:00</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2013-03-29T13:00:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1d3dea12e21275eab5af1b50ef4a3be89cfffc15'/>
<id>1d3dea12e21275eab5af1b50ef4a3be89cfffc15</id>
<content type='text'>
After merging LCD patches for v2013.04 the bcm2835 video
driver building is broken due to removal of many global
variables. Fix the driver.

Signed-off-by: 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>
After merging LCD patches for v2013.04 the bcm2835 video
driver building is broken due to removal of many global
variables. Fix the driver.

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'for-v2013.04'</title>
<updated>2013-03-29T12:54:10+00:00</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2013-03-29T12:54:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d0f34f10f14853ebe3f75371533708aa0639d830'/>
<id>d0f34f10f14853ebe3f75371533708aa0639d830</id>
<content type='text'>
Conflicts:
	drivers/video/Makefile

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	drivers/video/Makefile

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bitmap offsets for non 8-bit LCDs</title>
<updated>2013-03-21T09:50:42+00:00</updated>
<author>
<name>Andre Renaud</name>
<email>andre@bluewatersys.com</email>
</author>
<published>2013-02-13T17:48:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=317461c1db97abef243964ae4c7cc7d3485ec73f'/>
<id>317461c1db97abef243964ae4c7cc7d3485ec73f</id>
<content type='text'>
Currently bitmap logos don't interpret the X coordinate
correctly if the bpp is anything other than 8.

Signed-off-by: Andre Renaud &lt;andre@bluewatersys.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently bitmap logos don't interpret the X coordinate
correctly if the bpp is anything other than 8.

Signed-off-by: Andre Renaud &lt;andre@bluewatersys.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common/lcd.c: move the macro's to the c file</title>
<updated>2013-03-21T09:38:51+00:00</updated>
<author>
<name>Jeroen Hofstee</name>
<email>jeroen@myspectrum.nl</email>
</author>
<published>2013-01-12T12:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a5796c51ce87870cde39c0b9cd29ac775d0fb514'/>
<id>a5796c51ce87870cde39c0b9cd29ac775d0fb514</id>
<content type='text'>
Hide the console macros since some reference global data which is
no longer present.

cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hide the console macros since some reference global data which is
no longer present.

cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common/lcd: cosmetic: clean up a bit</title>
<updated>2013-03-21T09:31:38+00:00</updated>
<author>
<name>Jeroen Hofstee</name>
<email>jeroen@myspectrum.nl</email>
</author>
<published>2013-01-12T12:07:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6b035141f6459df01065f455cbf9c1928f2db16a'/>
<id>6b035141f6459df01065f455cbf9c1928f2db16a</id>
<content type='text'>
 - Make the brackets of the function calls more consistent
 - Remove really unnecessary brackets
 - Removes the extern from the function definitions
 - Remove curly brackets from single line statements
 - Remove lcd_setmem proto since it is already in common.h
 - Cleanup comments, remove useless comments
 - Remove NOT_USED_SO_FAR ifdef
 - Cleanup coding style

cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
[agust: rebased the original patch]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Make the brackets of the function calls more consistent
 - Remove really unnecessary brackets
 - Removes the extern from the function definitions
 - Remove curly brackets from single line statements
 - Remove lcd_setmem proto since it is already in common.h
 - Cleanup comments, remove useless comments
 - Remove NOT_USED_SO_FAR ifdef
 - Cleanup coding style

cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
[agust: rebased the original patch]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common/lcd.c: remove global lcd_base</title>
<updated>2013-03-21T09:16:53+00:00</updated>
<author>
<name>Jeroen Hofstee</name>
<email>jeroen@myspectrum.nl</email>
</author>
<published>2013-01-22T10:44:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=00a0ca5986c13d24ebbc5000cc1b7a1cdac0ba4b'/>
<id>00a0ca5986c13d24ebbc5000cc1b7a1cdac0ba4b</id>
<content type='text'>
lcd_base is available as gd-&gt;fb_base as well, there is no need
to keep a seperate copy.

For completeness the ack of Bo Shen is for the atmel part.
Cc: Alessandro Rubini &lt;rubini@unipv.it&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Haavard Skinnemoen &lt;haavard.skinnemoen@atmel.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Stelian Pop &lt;stelian@popies.net&gt;
Cc: Tom Warren &lt;twarren@nvidia.com&gt;
Acked-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
[agust: also fix cm_t35 board while rebasing]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lcd_base is available as gd-&gt;fb_base as well, there is no need
to keep a seperate copy.

For completeness the ack of Bo Shen is for the atmel part.
Cc: Alessandro Rubini &lt;rubini@unipv.it&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Haavard Skinnemoen &lt;haavard.skinnemoen@atmel.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Stelian Pop &lt;stelian@popies.net&gt;
Cc: Tom Warren &lt;twarren@nvidia.com&gt;
Acked-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
[agust: also fix cm_t35 board while rebasing]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common/lcd.c: cleanup use of global variables</title>
<updated>2013-03-21T09:11:17+00:00</updated>
<author>
<name>Jeroen Hofstee</name>
<email>jeroen@myspectrum.nl</email>
</author>
<published>2013-01-22T10:44:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f1d205a19cc89ae5a840cd45115201847dd5b73a'/>
<id>f1d205a19cc89ae5a840cd45115201847dd5b73a</id>
<content type='text'>
console_col, console_row, lcd_line_length, lcd_console_address had
to be declared in board / driver specific code, but were not actually
used there on many boards. Get rid of the global variables.

for completeness, the ack of Bo Shen is for the atmel part
Cc: Alessandro Rubini &lt;rubini@unipv.it&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Stelian Pop &lt;stelian@popies.net&gt;
Cc: Tom Warren &lt;twarren@nvidia.com&gt;
Acked-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
[agust: rebased and fixed cm_t35 board]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
console_col, console_row, lcd_line_length, lcd_console_address had
to be declared in board / driver specific code, but were not actually
used there on many boards. Get rid of the global variables.

for completeness, the ack of Bo Shen is for the atmel part
Cc: Alessandro Rubini &lt;rubini@unipv.it&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Stelian Pop &lt;stelian@popies.net&gt;
Cc: Tom Warren &lt;twarren@nvidia.com&gt;
Acked-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
[agust: rebased and fixed cm_t35 board]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common/lcd.c: cleanup use of global variables</title>
<updated>2013-03-21T08:05:08+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-01-05T09:45:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=46d1d5dd43e4d7c78f1fd6a5ee958d7b8a8626eb'/>
<id>46d1d5dd43e4d7c78f1fd6a5ee958d7b8a8626eb</id>
<content type='text'>
lcd_color_fg and lcd_color_bg had to be declared in board specific
code, but were not actually used there; in addition, we have getter /
setter functions for these, which were not used either.

Get rid of the global variables, and use the getter function where
needed (so far no setter calls are needed).

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Alessandro Rubini &lt;rubini@unipv.it&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Haavard Skinnemoen &lt;haavard.skinnemoen@atmel.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Stelian Pop &lt;stelian@popies.net&gt;
Cc: Tom Warren &lt;twarren@nvidia.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
[agust: also fixed cm_t35 board while rebasing]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lcd_color_fg and lcd_color_bg had to be declared in board specific
code, but were not actually used there; in addition, we have getter /
setter functions for these, which were not used either.

Get rid of the global variables, and use the getter function where
needed (so far no setter calls are needed).

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Alessandro Rubini &lt;rubini@unipv.it&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Bo Shen &lt;voice.shen@atmel.com&gt;
Cc: Haavard Skinnemoen &lt;haavard.skinnemoen@atmel.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Stelian Pop &lt;stelian@popies.net&gt;
Cc: Tom Warren &lt;twarren@nvidia.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
[agust: also fixed cm_t35 board while rebasing]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: calculate line_length after lcd_ctrl_init()</title>
<updated>2013-03-20T14:29:39+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@wwwdotorg.org</email>
</author>
<published>2013-01-29T16:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d3307195d583b7590068299420db4b44c6df4bf'/>
<id>6d3307195d583b7590068299420db4b44c6df4bf</id>
<content type='text'>
When an LCD driver is actually driving a regular external display, e.g.
an HDMI monitor, the display resolution might not be known until the
display controller has initialized, i.e. during lcd_ctrl_init(). However,
lcd.c calculates lcd_line_length before calling this function, thus
relying on a hard-coded resolution in struct panel_info.

Instead, defer this calculation until after lcd_ctrl_init() has had the
chance to dynamically determine the resolution. This needs to happen
before lcd_clear(), since the value is used there.

grep indicates that no code outside lcd.c uses this lcd_line_length; in
particular, no lcd_ctrl_init() implementations read it.

Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an LCD driver is actually driving a regular external display, e.g.
an HDMI monitor, the display resolution might not be known until the
display controller has initialized, i.e. during lcd_ctrl_init(). However,
lcd.c calculates lcd_line_length before calling this function, thus
relying on a hard-coded resolution in struct panel_info.

Instead, defer this calculation until after lcd_ctrl_init() has had the
chance to dynamically determine the resolution. This needs to happen
before lcd_clear(), since the value is used there.

grep indicates that no code outside lcd.c uses this lcd_line_length; in
particular, no lcd_ctrl_init() implementations read it.

Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd: implement a callback for splashimage</title>
<updated>2013-03-11T15:06:09+00:00</updated>
<author>
<name>Nikita Kiryanov</name>
<email>nikita@compulab.co.il</email>
</author>
<published>2013-02-24T21:28:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c08804853361bb7c6e2f9e0cdcdc0b327f71fe35'/>
<id>c08804853361bb7c6e2f9e0cdcdc0b327f71fe35</id>
<content type='text'>
On some architectures certain values of splashimage will lead to
a data abort exception.

Document the problem, and implement a callback for splashimage to
reject such values.

Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Acked-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On some architectures certain values of splashimage will lead to
a data abort exception.

Document the problem, and implement a callback for splashimage to
reject such values.

Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Signed-off-by: Nikita Kiryanov &lt;nikita@compulab.co.il&gt;
Acked-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
</pre>
</div>
</content>
</entry>
</feed>
