| 46d1d5dd | 05-Jan-2013 |
Wolfgang Denk <wd@denx.de> |
common/lcd.c: cleanup use of global variables
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 function
common/lcd.c: cleanup use of global variables
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 <wd@denx.de> Cc: Alessandro Rubini <rubini@unipv.it> Cc: Anatolij Gustschin <agust@denx.de> Cc: Bo Shen <voice.shen@atmel.com> Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Cc: Stelian Pop <stelian@popies.net> Cc: Tom Warren <twarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl> [agust: also fixed cm_t35 board while rebasing] Signed-off-by: Anatolij Gustschin <agust@denx.de>
show more ...
|
| 6d330719 | 29-Jan-2013 |
Stephen Warren <swarren@wwwdotorg.org> |
lcd: calculate line_length after lcd_ctrl_init()
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
lcd: calculate line_length after lcd_ctrl_init()
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 <swarren@wwwdotorg.org> Acked-by: Anatolij Gustschin <agust@denx.de>
show more ...
|
| be274b99 | 05-Mar-2013 |
Simon Glass <sjg@chromium.org> |
x86: Adjust board_r.c for x86
For x86 the global_data is managed entirely by the start.S code so we do not need to touch it. However, we do have some more initcalls to add.
Signed-off-by: Simon Gla
x86: Adjust board_r.c for x86
For x86 the global_data is managed entirely by the start.S code so we do not need to touch it. However, we do have some more initcalls to add.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 48a33806 | 05-Mar-2013 |
Simon Glass <sjg@chromium.org> |
x86: Adjust board_f.c for x86
For x86, things have adjusted somewhat since this series was originally written. It has its own way of running through initcalls which is actually nicer than others arc
x86: Adjust board_f.c for x86
For x86, things have adjusted somewhat since this series was originally written. It has its own way of running through initcalls which is actually nicer than others archs.
Unfortunately this does introduce exceptions. We will soon require use of generic board on x86, but until then we need to fit in with what is there, and treat x86 as a special case.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| e4fef6cf | 11-Mar-2013 |
Simon Glass <sjg@chromium.org> |
Adjust board_f.c for ppc
This adds ppc features to the generic pre-relocation board init.
This is a separate commit so that these features are clearly shown.
Signed-off-by: Simon Glass <sjg@chromi
Adjust board_f.c for ppc
This adds ppc features to the generic pre-relocation board init.
This is a separate commit so that these features are clearly shown.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 632efa74 | 11-Mar-2013 |
Simon Glass <sjg@chromium.org> |
Add CONFIG_SYS_SYM_OFFSETS to support offset symbols
Link symbols as created by the link script can either be absolute or relative to the text start. This option switches between the two options so
Add CONFIG_SYS_SYM_OFFSETS to support offset symbols
Link symbols as created by the link script can either be absolute or relative to the text start. This option switches between the two options so that we can support both.
As we convert architectures over to generic board, we can see if this option is actually needed, or whether it is possible to unify this feature also.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 68149e94 | 12-Mar-2013 |
Tom Rini <trini@ti.com> |
cmd_mem.c: Fix warning when CONFIG_CMD_MEMTEST is not set
mem_test_quick and mem_test_alt functions are only called by do_mem_mtest, so move them under the #ifdef
Signed-off-by: Tom Rini <trini@ti.
cmd_mem.c: Fix warning when CONFIG_CMD_MEMTEST is not set
mem_test_quick and mem_test_alt functions are only called by do_mem_mtest, so move them under the #ifdef
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| d514544f | 08-Feb-2013 |
Joe Hershberger <joe.hershberger@ni.com> |
CONFIG_BOOTDELAY default should not affect runtime
Because the code that handles bootdelay is compiled in conditionally based on the default value, you are restricted in the default, regardless of w
CONFIG_BOOTDELAY default should not affect runtime
Because the code that handles bootdelay is compiled in conditionally based on the default value, you are restricted in the default, regardless of what you want the runtime options to be.
Change the source to always check if any default is given so that other values can be selected and used at runtime.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| fe492cee | 27-Feb-2013 |
Barak Wasserstrom <wbarak@gmail.com> |
common/main: move set_working_fdt_addr to enable usage of $fdtaddr
When using $fdtaddr in $bootcmd and $bootcmd is automatically called, $fdtaddr is yet not defined.
Signed-off-by: Barak Wasserstro
common/main: move set_working_fdt_addr to enable usage of $fdtaddr
When using $fdtaddr in $bootcmd and $bootcmd is automatically called, $fdtaddr is yet not defined.
Signed-off-by: Barak Wasserstrom <wbarak@gmail.com>
show more ...
|
| 7d85591d | 20-Feb-2013 |
Wolfgang Denk <wd@denx.de> |
env: fix "env ask" command
The "env ask" traditionally uses a somewhat awkward syntax:
env ask name [message ...] [size]
So far, when a mesage was given, you always also had to enter a size. If y
env: fix "env ask" command
The "env ask" traditionally uses a somewhat awkward syntax:
env ask name [message ...] [size]
So far, when a mesage was given, you always also had to enter a size. If you forgot to do that, the command would terminate without any indication of the problem.
To avoid incompatible changes of the interface, we now check the last argument if it can be converted into a decimal number. If this is the case, we assume it is a size; otherwise we treat it as part of the message.
Also, add a space after the message fore easier reading, and clean up help mesage.
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|