| c8e66db7 | 14-Jan-2012 |
Simon Glass <sjg@chromium.org> |
bootstage: Convert net progress numbers to enums
This changes over the network-related progress numbers to use enums from bootstage.h.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| cd24a6bf | 10-Dec-2011 |
Simon Glass <sjg@chromium.org> |
bootstage: Convert NAND progress numbers to enums
This changes over the NAND progress numbers to use enums from bootstage.h.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 90e153d7 | 10-Dec-2011 |
Simon Glass <sjg@chromium.org> |
bootstage: Convert IDE progress numbers to enums
This changes over the IDE progress numbers to use enums from bootstage.h.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 5e410883 | 10-Dec-2011 |
Simon Glass <sjg@chromium.org> |
bootstage: Convert progress numbers 10-19 to enums
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org> |
| 5dc88716 | 14-Jan-2012 |
Simon Glass <sjg@chromium.org> |
bootstage: Convert progress numbers 1-9 into enums
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 5ddb118d | 10-Dec-2011 |
Simon Glass <sjg@chromium.org> |
bootstage: Use show_boot_error() for -ve progress numbers
Rather than the caller negating our progress numbers to indicate an error has occurred, which seems hacky, add a function to indicate this.
bootstage: Use show_boot_error() for -ve progress numbers
Rather than the caller negating our progress numbers to indicate an error has occurred, which seems hacky, add a function to indicate this.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 578ac1e9 | 10-Dec-2011 |
Simon Glass <sjg@chromium.org> |
bootstage: Make use of BOOTSTAGE_ID_RUN_OS in show_boot_progress()
This changes the number 15 as used in boot_stage_progress() to use the new name provided for it. This is a separate patch because i
bootstage: Make use of BOOTSTAGE_ID_RUN_OS in show_boot_progress()
This changes the number 15 as used in boot_stage_progress() to use the new name provided for it. This is a separate patch because it touches so many files.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 6eee21da | 18-Nov-2011 |
Reinhard Arlt <reinhard.arlt@esd.eu> |
bootvx: Clear and disable data cache, and call vxWorks with parameter.
This patch clear and disable the data cache for vxWorks.
The entry point sysInit(int) intended by Windriver to be called from
bootvx: Clear and disable data cache, and call vxWorks with parameter.
This patch clear and disable the data cache for vxWorks.
The entry point sysInit(int) intended by Windriver to be called from the vxWorks bootrom, a very small vxWorks system. The routine is called by the go() handler in the bootrom, that clears the cache from start of image to end of usable memory.
The PowerPC implementations only invalidates and disable the cache, the ARM implementations also flush it.
U-Boot will be on the safe side, if it disables the data cache before calling vxWorks sysInit(int).
Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
show more ...
|
| e37ae40e | 01-Nov-2011 |
Stephen Warren <swarren@nvidia.com> |
image: Support FDTs already loaded at their load address
boot_get_fdt() expects a uImage-wrapped FDT to be loaded to a staging location, and then memmove()s it to the load address specified in the h
image: Support FDTs already loaded at their load address
boot_get_fdt() expects a uImage-wrapped FDT to be loaded to a staging location, and then memmove()s it to the load address specified in the header. This change enhances boot_get_fdt() to detect when the image has already been loaded to the correct address, and skip this memmove(). The detection algorithm was written to match the equivalent for the kernel; see bootm_load_os()'s IH_COMP_NONE case.
v2: New patch
Signed-off-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| 23498935 | 31-Oct-2011 |
Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> |
cmd_cache: use cache/invalidate functions available in common.h
flush_dcache()/flush_icache() aren't defined in common.h, flush_dcache_all()/invalidate_icache_all() however are.
Let the icache and
cmd_cache: use cache/invalidate functions available in common.h
flush_dcache()/flush_icache() aren't defined in common.h, flush_dcache_all()/invalidate_icache_all() however are.
Let the icache and dcache commands use those instead.
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 4c12eeb8 | 10-Dec-2011 |
Simon Glass <sjg@chromium.org> |
Convert cmd_usage() calls in common to use a return value
Change all files in common/ to use CMD_RET_USAGE instead of calling cmd_usage() directly. I'm not completely sure about this patch since the
Convert cmd_usage() calls in common to use a return value
Change all files in common/ to use CMD_RET_USAGE instead of calling cmd_usage() directly. I'm not completely sure about this patch since the code since impact is small (100 byte or so on ARM) and it might need splitting into smaller patches. But for now here it is.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 9d12d5d4 | 14-Feb-2012 |
Simon Glass <sjg@chromium.org> |
Add cmd_process() to process commands in one place
We currently have the same code in hush.c and main.c. This brings the code into one place.
As an added feature, if the command function returns CM
Add cmd_process() to process commands in one place
We currently have the same code in hush.c and main.c. This brings the code into one place.
As an added feature, if the command function returns CMD_RET_USAGE then cmd_process() will print a usage message for the command before returning the standard failure code of 1.
ARM code size increases about 32 bytes with this clean-up.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 7344f912 | 06-Dec-2011 |
Simon Glass <sjg@chromium.org> |
Remove interleave of non-U-Boot code in hush
There is a nasty interleave of #ifdefs in hush.c where the two code paths have different indents. Remove this ickiness.
Signed-off-by: Simon Glass <sjg@
Remove interleave of non-U-Boot code in hush
There is a nasty interleave of #ifdefs in hush.c where the two code paths have different indents. Remove this ickiness.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| bdf8e34b | 14-Feb-2012 |
Simon Glass <sjg@chromium.org> |
Create a single cmd_call() function to handle command execution
We should aim for a single point of entry to the commands, whichever parser is used.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 7fed89e0 | 14-Feb-2012 |
Simon Glass <sjg@chromium.org> |
Don't include standard parser if hush is used
This saves about 1KB of code space on ARM with CONFIG_SYS_HUSH_PARSER defined.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 53071532 | 14-Feb-2012 |
Simon Glass <sjg@chromium.org> |
Stop using builtin_run_command()
Boards can select either the 'built-in' parser or the hush parser. We should not call builtin_run_command() if we are using the hush parser. We use run_command() ins
Stop using builtin_run_command()
Boards can select either the 'built-in' parser or the hush parser. We should not call builtin_run_command() if we are using the hush parser. We use run_command() instead, since it knows how to call the correct parser.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 009dde19 | 14-Feb-2012 |
Simon Glass <sjg@chromium.org> |
Rename run_command2() to run_command()
This is a more sensible name, so rename it.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org> |
| f47360a7 | 14-Feb-2012 |
Simon Glass <sjg@chromium.org> |
Rename run_command() to builtin_run_command()
The current run_command() is only one of the parsing options - the other is hush. We should not call run_command() when the hush parser is being used. S
Rename run_command() to builtin_run_command()
The current run_command() is only one of the parsing options - the other is hush. We should not call run_command() when the hush parser is being used. So we rename this function to better explain its purpose.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 79714c1e | 14-Feb-2012 |
Simon Glass <sjg@chromium.org> |
Remove CMD_PXE's static on run_command()
It really isn't clear why this is here and there is no comment, so drop it.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@g
Remove CMD_PXE's static on run_command()
It really isn't clear why this is here and there is no comment, so drop it.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| a1a28c6e | 21-Dec-2011 |
Wolfgang Grandegger <wg@denx.de> |
USB: relax usbcore reset timings
Following the corresponding Linux code, this patch relaxes reset timings waiting at least 100ms after power to the ports. There are some reports that it helps make e
USB: relax usbcore reset timings
Following the corresponding Linux code, this patch relaxes reset timings waiting at least 100ms after power to the ports. There are some reports that it helps make enumeration work better on some high speed devices. Furthermore, the wait is only done once after power has been enabled on all ports.
CC: Remy Bohmer <linux@bohmer.net> CC: Vincent Palatin <vpalatin@chromium.org> Signed-off-by: Wolfgang Grandegger <wg@denx.de>
show more ...
|
| f9636e8d | 20-Dec-2011 |
amartin@nvidia.com <amartin@nvidia.com> |
USB: move keyboard polling into kbd driver
This moves keyboard polling logic from USB HCD drivers into USB keyboard driver. Remove usb_event_poll() as keyboard polling was the only user of this API
USB: move keyboard polling into kbd driver
This moves keyboard polling logic from USB HCD drivers into USB keyboard driver. Remove usb_event_poll() as keyboard polling was the only user of this API. With this patch USB keyboard works with EHCI controllers again. Tested on a tegra2 seaboard.
Signed-off-by: Allen Martin <amartin@nvidia.com>
show more ...
|
| fb3ef649 | 23-Dec-2011 |
amartin@nvidia.com <amartin@nvidia.com> |
USB: reevaluate iomux stdin on USB kbd detect
If CONSOLE_MUX is enabled, reevaluate console stdin when USB keyboard device is detected.
Signed-off-by: Allen Martin <amartin@nvidia.com> |
| d53da847 | 09-Jan-2012 |
Vincent Palatin <vpalatin@chromium.org> |
usb: add numeric keypad support to HID driver
When keys are pressed on the numeric keypad, emit key codes for the numbers, operators, dot and enter.
Signed-off-by: Vincent Palatin <vpalatin@chromiu
usb: add numeric keypad support to HID driver
When keys are pressed on the numeric keypad, emit key codes for the numbers, operators, dot and enter.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
show more ...
|
| 3d17308e | 09-Jan-2012 |
Vincent Palatin <vpalatin@chromium.org> |
USB: fix USB keyboard polling parameter
When doing a "GET_REPORT" request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in bo
USB: fix USB keyboard polling parameter
When doing a "GET_REPORT" request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in boot mode.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
show more ...
|
| e159e486 | 13-Feb-2012 |
Marek Vasut <marek.vasut@gmail.com> |
USB: Make struct devrequest setup_packet local
Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Remy Bohmer <linux@bohmer.net> Acked-by: Mike Frysinger <vapier@gentoo.org> |