| 87d93a1b | 09-Dec-2009 |
Wolfgang Wegner <w.wegner@astro-kom.de> |
move prototypes for gunzip() and zunzip() to common.h
Prototype for gunzip/zunzip was only in lib_generic/gunzip.c and thus repeated in every file using it. This patch moves the prototypes to common
move prototypes for gunzip() and zunzip() to common.h
Prototype for gunzip/zunzip was only in lib_generic/gunzip.c and thus repeated in every file using it. This patch moves the prototypes to common.h and removes all prototypes distributed anywhere else.
Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
show more ...
|
| 127e1084 | 03-Nov-2009 |
Mahavir Jain <mjain@marvell.com> |
usb: write command for RAW partition.
This patch implements write support to usb device with raw partition. It will be useful for filesystem write support to usb device from u-boot in future.
Teste
usb: write command for RAW partition.
This patch implements write support to usb device with raw partition. It will be useful for filesystem write support to usb device from u-boot in future.
Tested with writing kernel image to raw usb disk & booting with usb read command into ram.
[Note: run usb part to get info about start sector & number of sectors on a partition for usb write operation.]
Signed-off-by: Mahavir Jain <mjain@marvell.com>
show more ...
|
| 8f8bd565 | 31-Oct-2009 |
Tom Rix <Tom.Rix@windriver.com> |
USB Consolidate descriptor definitions
The header files usb.h and usbdescriptors.h have the same nameed structure definitions for
usb_config_descriptor usb_interface_descriptor usb_endpoint_descrip
USB Consolidate descriptor definitions
The header files usb.h and usbdescriptors.h have the same nameed structure definitions for
usb_config_descriptor usb_interface_descriptor usb_endpoint_descriptor usb_device_descriptor usb_string_descriptor
These are out right duplicates in usb.h
usb_device_descriptor usb_string_descriptor
This one has extra unused elements
usb_endpoint_descriptor
unsigned char bRefresh unsigned char bSynchAddress;
These in usb.h have extra elements at the end of the usb 2.0 specified descriptor and are used.
usb_config_descriptor usb_interface_descriptor
The change is to consolidate the definition of the descriptors to usbdescriptors.h. The dublicates in usb.h are removed. The extra element structure will have their name shorted by removing the '_descriptor' suffix.
So
usb_config_descriptor -> usb_config usb_interface_descriptor -> usb_interface
For these, the common descriptor elements are accessed now by an element 'desc'.
As an example
- if (iface->bInterfaceClass != USB_CLASS_HUB) + if (iface->desc.bInterfaceClass != USB_CLASS_HUB)
This has been compile tested on MAKEALL arm, ppc and mips.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
show more ...
|
| 4b142feb | 03-Dec-2009 |
Heiko Schocher <hs@denx.de> |
common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL
There is more and more usage of printing 64bit values, so enable this feature generally, and delete the CONFIG_SYS_64BIT_VSPRINT
common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL
There is more and more usage of printing 64bit values, so enable this feature generally, and delete the CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL defines.
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 35e37177 | 07-Dec-2009 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of ../work into next |
| df002fa6 | 05-Dec-2009 |
Heiko Schocher <hs@denx.de> |
i2c: fix dangling comment in do_i2c_mw()
commit bd3784df94bfeca43fbf34094df9cb1bd3ecca3b deleted some unused code in do_i2c_mw(), but missed to also remove the respective commment. This patch fixes
i2c: fix dangling comment in do_i2c_mw()
commit bd3784df94bfeca43fbf34094df9cb1bd3ecca3b deleted some unused code in do_i2c_mw(), but missed to also remove the respective commment. This patch fixes this.
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 206c00f2 | 07-Dec-2009 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' into next
Conflicts: lib_generic/zlib.c
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 224c90d1 | 19-Nov-2009 |
Peter Tyser <ptyser@xes-inc.com> |
bootm: Fix help message's sub-command ordering
The help message for the 'bootm' command listed the 'cmdline' and 'bdt' sub-commands in the wrong order which resulted in the error below when followin
bootm: Fix help message's sub-command ordering
The help message for the 'bootm' command listed the 'cmdline' and 'bdt' sub-commands in the wrong order which resulted in the error below when following the 'help' command's instructions:
"Trying to execute a command out of order"
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
show more ...
|
| 2a49bf31 | 05-Dec-2009 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' into next
Conflicts: board/esd/plu405/plu405.c drivers/rtc/ftrtc010.c
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 20dde48b | 19-Nov-2009 |
Peter Korsgaard <jacmet@sunsite.dk> |
add lzop decompression support
Add lzop decompression support to the existing lzo bitstream handling (think gzip versus zlib), and support it for uImage decompression if CONFIG_LZO is enabled.
Lzop
add lzop decompression support
Add lzop decompression support to the existing lzo bitstream handling (think gzip versus zlib), and support it for uImage decompression if CONFIG_LZO is enabled.
Lzop doesn't compress as good as gzip (~10% worse), but decompression is very fast (~0.7s faster here on a slow ppc). The lzop decompression code is based on Albin Tonnerre's recent ARM Linux lzo support patch.
Cc: albin.tonnerre@free-electrons.com Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
show more ...
|
| b4feeb4e | 24-Nov-2009 |
Graeme Russ <graeme.russ@gmail.com> |
i386: Fix malloc initialization
Signed-off-by: Graeme Russ <graeme.russ@gmail.com> |
| bcb324d6 | 19-Nov-2009 |
Robert P. J. Day <rpjday@crashcourse.ca> |
Remove superfluous preprocessor tests from some cmd_*.c files.
A small number of common/cmd_*.c files contain preprocessor tests that are apparently superfluous since those same tests are used in th
Remove superfluous preprocessor tests from some cmd_*.c files.
A small number of common/cmd_*.c files contain preprocessor tests that are apparently superfluous since those same tests are used in the Makefile to control the compilation of those files. Those tests are clearly redundant as long as they surround the entirety of the source in those files.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
show more ...
|
| bd3784df | 12-Nov-2009 |
Pratap Chandu <pratap.rrke@gmail.com> |
Removes dead code in the file common/cmd_i2c.c
There is some dead code enclosed by #if 0 .... #endif in the file common/cmd_i2c.c This patch removes the dead code.
Signed-off-by: Pratap Chandu <pra
Removes dead code in the file common/cmd_i2c.c
There is some dead code enclosed by #if 0 .... #endif in the file common/cmd_i2c.c This patch removes the dead code.
Signed-off-by: Pratap Chandu <pratap.rrke@gmail.com>
show more ...
|
| d52e3e01 | 11-Nov-2009 |
Magnus Lilja <lilja.magnus@gmail.com> |
cmd_date: Fix spelling in error message.
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com> |
| c2531223 | 11-Nov-2009 |
Peter Tyser <ptyser@xes-inc.com> |
Move do_irqinfo() to common/cmd_irq.c
cmd_irq.c is a much better home and it is already conditionally compiled based on CONFIG_CMD_IRQ.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> |
| a5dd4dc6 | 11-Nov-2009 |
Peter Tyser <ptyser@xes-inc.com> |
cmd_license: Remove unneeded #ifdef CONFIG_CMD_LICENSE
cmd_license is already conditionally compiled at the Makefile-level.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> |
| 9ef78511 | 09-Nov-2009 |
Peter Tyser <ptyser@xes-inc.com> |
circbuf: Move to lib_generic and conditionally compile
circbuf could be used as a generic library and is only currently needed when CONFIG_USB_TTY is defined.
Signed-off-by: Peter Tyser <ptyser@xes
circbuf: Move to lib_generic and conditionally compile
circbuf could be used as a generic library and is only currently needed when CONFIG_USB_TTY is defined.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
show more ...
|
| bf44f3f3 | 04-Nov-2009 |
Mike Frysinger <vapier@gentoo.org> |
exports: rewrite jump table init
The current jump table init fails to initialize a bunch of exported symbols (forceenv/do_reset/etc...). Rather than fix just these few missing pieces, rewrite the c
exports: rewrite jump table init
The current jump table init fails to initialize a bunch of exported symbols (forceenv/do_reset/etc...). Rather than fix just these few missing pieces, rewrite the code to utilize the existing list of exported symbols -- _exports.h. Since every exported symbol has to be listed in this header, it makes sense to use it so that we only ever have one list that needs to be updated and things can't fall out of sync again.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 0008555f | 03-Nov-2009 |
Mike Frysinger <vapier@gentoo.org> |
bootm: mark local boot_os[] table static
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| b25e38fc | 29-Oct-2009 |
Remy Bohmer <linux@bohmer.net> |
Repair build fail in case CONFIG_PPC=n and CONFIG_FIT=y
Signed-off-by: Remy Bohmer <linux@bohmer.net> |
| 396fd173 | 16-Oct-2009 |
Peter Tyser <ptyser@xes-inc.com> |
Add 'true' and 'false' commands
These commands are only enabled when the hush shell is enabled and can be useful in scripts such as:
while true do echo "Booting OS..."; run $bootcmd; ec
Add 'true' and 'false' commands
These commands are only enabled when the hush shell is enabled and can be useful in scripts such as:
while true do echo "Booting OS..."; run $bootcmd; echo "Booting OS failed"; sleep 10; done
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
show more ...
|
| 4e1ca93b | 16-Oct-2009 |
Peter Tyser <ptyser@xes-inc.com> |
cmd_help: General cleanup
Shorten the overly-verbose help message of 'help' and clean up some redundant ifdefery while we're at it.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> |
| 6b8f5ad1 | 16-Oct-2009 |
Peter Tyser <ptyser@xes-inc.com> |
command.c: Break commands out to appropriate cmd_*.c files
command.c should contain common code related to commands, not miscellaneous command implementations.
Signed-off-by: Peter Tyser <ptyser@xe
command.c: Break commands out to appropriate cmd_*.c files
command.c should contain common code related to commands, not miscellaneous command implementations.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
show more ...
|
| c758e947 | 04-Nov-2009 |
Amul Kumar Saha <amul.saha@samsung.com> |
ENV Variable support for Flex-OneNAND
Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables.
Signed-off-by: Rohit Hagargundgi <h.rohit@samsung.com> Signed-o
ENV Variable support for Flex-OneNAND
Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables.
Signed-off-by: Rohit Hagargundgi <h.rohit@samsung.com> Signed-off-by: Amul Kumar Saha <amul.saha@samsung.com>
show more ...
|
| 581d04f1 | 15-Oct-2009 |
Peter Tyser <ptyser@xes-inc.com> |
cmd_nand: Move conditional compilation to Makefile
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> |