| 6b7243aa | 28-Jan-2009 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-usb |
| 1a448db7 | 19-Jan-2009 |
Bryan Wu <bryan.wu@analog.com> |
usb_scan_devices: fix output with no devices
We should check the return of usb_new_device() so that if no USB device is found, we print out the right message rather than always saying "new usb devic
usb_scan_devices: fix output with no devices
We should check the return of usb_new_device() so that if no USB device is found, we print out the right message rather than always saying "new usb device found".
Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
show more ...
|
| f1c1f540 | 22-Jan-2009 |
Stefan Roese <sr@denx.de> |
USB: Add high-speed (480Mb/s) to all USB related outputs
With this patch the USB related connection speed output ("usb tree" command and debug output) is now high-speed enabled.
This patch also fix
USB: Add high-speed (480Mb/s) to all USB related outputs
With this patch the USB related connection speed output ("usb tree" command and debug output) is now high-speed enabled.
This patch also fixes a compilation warning when debugging is enabled.
Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Remy Bohmer <linux@bohmer.net>
show more ...
|
| c7d703f3 | 01-Jan-2009 |
Mike Frysinger <vapier@gentoo.org> |
usb.h: use standard __LITTLE_ENDIAN from Linux headers
Rather than forcing people to define a custom "LITTLEENDIAN", just use the __LITTLE_ENDIAN one from the Linux byteorder headers that every arch
usb.h: use standard __LITTLE_ENDIAN from Linux headers
Rather than forcing people to define a custom "LITTLEENDIAN", just use the __LITTLE_ENDIAN one from the Linux byteorder headers that every arch is already setting up.
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
show more ...
|
| 14e4111c | 02-Jan-2009 |
Bryan Wu <Bryan.Wu@analog.com> |
usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive
The SanDisk Corporation U3 Cruzer Micro 1/4GB Flash Drive 000016244373FFB4 does not like to be reset, so check for it.
usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive
The SanDisk Corporation U3 Cruzer Micro 1/4GB Flash Drive 000016244373FFB4 does not like to be reset, so check for it.
Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
show more ...
|
| 1eb734fe | 04-Jan-2009 |
Thomas Abraham <t-abraham@ti.com> |
usb : usb_kbd : Populating 'priv' member of USB keyboard device_t structure
This patch populates the 'priv' field of the USB keyboard device_t structure. The 'priv' field is populated with the addre
usb : usb_kbd : Populating 'priv' member of USB keyboard device_t structure
This patch populates the 'priv' field of the USB keyboard device_t structure. The 'priv' field is populated with the address of the 'struct usb_device' structure that represents the USB device.
The 'priv' field can then be used in the 'usb_event_poll' function to determine the USB device that requires to be polled. An example of its usage in 'usb_event_poll' function is as below.
device_t *dev; struct usb_device *usb_kbd_dev;
<snip>
dev = device_get_by_name("usbkbd"); usb_kbd_dev = (struct usb_device *)dev->priv; iface = &usb_kbd_dev->config.if_desc[0];
Signed-off-by: Thomas Abraham <t-abraham@ti.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
show more ...
|
| 366523c2 | 18-Dec-2008 |
Michael Trimarchi <trimarchi@gandalf.sssup.it> |
USB change speed
USB changes the speed according to the port status
Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Bohmer <linux@bohmer.net> |
| 3e126484 | 28-Nov-2008 |
Michael Trimarchi <trimarchi@gandalf.sssup.it> |
Prepare USB layer for ehci
Prepare USB layer for ehci support
Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: Remy Böhmer <linux@bohmer.net> |
| a0cb3fc3 | 10-Dec-2008 |
Michael Trimarchi <trimarchi@gandalf.sssup.it> |
USB storage cleanup patch
Cleanup usb storage
Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Remy Bohmer <linux@bohmer.net> |
| fe033ad6 | 12-Oct-2008 |
Mike Frysinger <vapier@gentoo.org> |
Blackfin: fixup misc warnings such as printf's and missing casts
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| 29d4ea0a | 12-Oct-2008 |
Mike Frysinger <vapier@gentoo.org> |
Blackfin: bootldr: implement BF53x/BF56x LDR loader
The BF53x/BF56x parts do not have an on-chip ROM to boot LDRs out of arbitrary memory locations, so implement a basic one in software.
Signed-off
Blackfin: bootldr: implement BF53x/BF56x LDR loader
The BF53x/BF56x parts do not have an on-chip ROM to boot LDRs out of arbitrary memory locations, so implement a basic one in software.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 8b35e3ae | 12-Oct-2008 |
Mike Frysinger <vapier@gentoo.org> |
Blackfin: implement real write support for OTP
Now that real documentation has been released for the OTP interface and the on-chip ROM wrt writing/timings, implement support for reading/writing as w
Blackfin: implement real write support for OTP
Now that real documentation has been released for the OTP interface and the on-chip ROM wrt writing/timings, implement support for reading/writing as well as dumping/locking.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 36ea8e9a | 12-Oct-2008 |
Mike Frysinger <vapier@gentoo.org> |
Blackfin: support console-over-JTAG
The Blackfin JTAG has the ability to pass data via a back-channel without halting the processor. Utilize that channel to emulate a console.
Signed-off-by: Mike
Blackfin: support console-over-JTAG
The Blackfin JTAG has the ability to pass data via a back-channel without halting the processor. Utilize that channel to emulate a console.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 2fb2604d | 28-Jan-2009 |
Peter Tyser <ptyser@xes-inc.com> |
Command usage cleanup
Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage field
Command usage cleanup
Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
show more ...
|
| 62c3ae7c | 28-Jan-2009 |
Peter Tyser <ptyser@xes-inc.com> |
Standardize command usage messages with cmd_usage()
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> |
| cf7e399f | 27-Jan-2009 |
Mike Frysinger <vapier@gentoo.org> |
SATA: do not auto-initialize during boot
Rather than have the board code initialize SATA automatically during boot, make the user manually run "sata init". This brings the SATA subsystem in line wi
SATA: do not auto-initialize during boot
Rather than have the board code initialize SATA automatically during boot, make the user manually run "sata init". This brings the SATA subsystem in line with common U-Boot policy.
Rather than having a dedicated weak function "is_sata_supported", people can override sata_initialize() to do their weird board stuff. Then they can call the actual __sata_initialize().
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| b5b004ad | 30-Dec-2008 |
Tomasz Figa <tomasz.figa@gmail.com> |
jffs2: Fix zero sector_size when not using CONFIG_JFFS2_CMDLINE
This patch fixes a bug (?) introduced after inclusion of the new JFFS2 code.
When not using CONFIG_JFFS2_CMDLINE, the code in cmd_jff
jffs2: Fix zero sector_size when not using CONFIG_JFFS2_CMDLINE
This patch fixes a bug (?) introduced after inclusion of the new JFFS2 code.
When not using CONFIG_JFFS2_CMDLINE, the code in cmd_jffs2.c doesn't fill in part->sector_size (keeping it as 0), but a correct value is needed by the code in jffs2_1pass.c. This causes all JFFS2 accesses to be in the same place of the memory, what obviously means impossibility to use the JFFS2 partition.
This problem is fixed in this patch by including sector size calculation in non-CONFIG_JFFS2_CMDLINE mtdparts_init variant.
Signed-off-by: Tomasz Figa <tomasz.figa_at_gmail.com>
show more ...
|
| ba69dc26 | 30-Dec-2008 |
Mike Frysinger <vapier@gentoo.org> |
saveenv: standardize enablement
Rather than special casing each environment type for enabling the saveenv command, have them all behave the same. This avoids bitrot as new env sources are added/rem
saveenv: standardize enablement
Rather than special casing each environment type for enabling the saveenv command, have them all behave the same. This avoids bitrot as new env sources are added/removed.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 107b801c | 02-Jan-2009 |
Matthias Fuchs <matthias.fuchs@esd-electronics.com> |
Fix gunzip in case of insufficient output buffer
U-Boot's gunzip() function does not handle the return code of zlib's inflate() function correctly. gunzip() is implemented to uncompress all input da
Fix gunzip in case of insufficient output buffer
U-Boot's gunzip() function does not handle the return code of zlib's inflate() function correctly. gunzip() is implemented to uncompress all input data in one run. So the correct return code for the good case is Z_STREAM_END. In case of insufficient output buffer memory inflate returns Z_OK. For gunzip() this is an error.
It also makes sense to me to call inflateEnd() also in case of an error.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
show more ...
|
| b6fc6fd4 | 16-Dec-2008 |
Dirk Eibach <eibach@gdsys.de> |
common: Iteration limit for memory test.
The iteration limit is passed to mtest as a fourth parameter: [start [end [pattern [iterations]]]] If no fourth parameter is supplied, there is no iteration
common: Iteration limit for memory test.
The iteration limit is passed to mtest as a fourth parameter: [start [end [pattern [iterations]]]] If no fourth parameter is supplied, there is no iteration limit and the test will loop forever.
Signed-off-by: Dirk Eibach <eibach@gdsys.de>
show more ...
|
| c3284b03 | 10-Dec-2008 |
Peter Korsgaard <jacmet@sunsite.dk> |
common/main: support bootdelay=0 for CONFIG_AUTOBOOT_KEYED
Support bootdelay=0 in abortboot for the CONFIG_AUTOBOOT_KEYED case similar to the CONFIG_ZERO_BOOTDELAY_CHECK support for the !CONFIG_AUTO
common/main: support bootdelay=0 for CONFIG_AUTOBOOT_KEYED
Support bootdelay=0 in abortboot for the CONFIG_AUTOBOOT_KEYED case similar to the CONFIG_ZERO_BOOTDELAY_CHECK support for the !CONFIG_AUTOBOOT_KEYED case.
Do this by reversing the loop so we do at least one iteration before checking for timeout.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
show more ...
|
| 6dadc919 | 20-Oct-2008 |
Mike Frysinger <vapier@gentoo.org> |
Blackfin: use common strmhz() in system output
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| d4bade8d | 19-Jan-2009 |
Mike Frysinger <vapier@gentoo.org> |
nand: fixup printf modifiers to match types used
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Scott Wood <scottwood@freescale.com> |
| 389e6620 | 20-Jan-2009 |
Schlaegl Manfred jun <manfred.schlaegl@gmx.at> |
nand read.jffs2 (nand_legacy) in common/cmd_nand.c
Error with CONFIG_NAND_LEGACY in common/cmd_nand.c: With current code "nand read.jffs2s" (read and skip bad blocks) is always interpreted as "nand
nand read.jffs2 (nand_legacy) in common/cmd_nand.c
Error with CONFIG_NAND_LEGACY in common/cmd_nand.c: With current code "nand read.jffs2s" (read and skip bad blocks) is always interpreted as "nand read.jffs2" (read and fill bad blocks with 0xff). This is because ".jffs2" is tested before ".jffs2s" and only the first two characters are compared.
Correction: Test for ".jffs2s" first and compare the first 7 characters.
Signed-off-by: Scott Wood <scottwood@freescale.com>
show more ...
|
| 50657c27 | 13-Dec-2008 |
Nishanth Menon <menon.nishanth@gmail.com> |
NAND: Enable nand lock, unlock feature
Enable nand lock, unlock and status of lock feature. Not every device and platform requires this, hence, it is under define for CONFIG_CMD_NAND_LOCK_UNLOCK
Na
NAND: Enable nand lock, unlock feature
Enable nand lock, unlock and status of lock feature. Not every device and platform requires this, hence, it is under define for CONFIG_CMD_NAND_LOCK_UNLOCK
Nand unlock and status operate on block boundary instead of page boundary. Details in: http://www.micron.com/products/partdetail?part=MT29C2G24MAKLAJG-6%20IT
Intial solution provided by Vikram Pandita <vikram.pandita@ti.com> Includes preliminary suggestions from Scott Wood
Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
show more ...
|