History log of /rk3399_rockchip-uboot/include/usb.h (Results 126 – 150 of 170)
Revision Date Author Comments
# 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 ...


# 51ab142b 11-Dec-2008 michael <michael@panicking.retis>

[PATCH] This patch add varius fix to the ehci.
- fix ehci_readl, ehci_writel
- introduce new define in ehci.h
- introduce the handshake function for waiting on a register
- fix usb_ehci_fsl with the

[PATCH] This patch add varius fix to the ehci.
- fix ehci_readl, ehci_writel
- introduce new define in ehci.h
- introduce the handshake function for waiting on a register
- fix usb_ehci_fsl with the new HC_LENGTH macro

Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it>
Signed-off-by: Remy Böhmer <linux@bohmer.net>

show more ...


# 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>


# be4880eb 22-Jan-2009 Kim Phillips <kim.phillips@freescale.com>

Merge branch 'master' into next


# cb547320 17-Dec-2008 Haavard Skinnemoen <haavard.skinnemoen@atmel.com>

Merge branch 'fixes' into cleanups

Conflicts:

board/atmel/atngw100/atngw100.c
board/atmel/atstk1000/atstk1000.c
cpu/at32ap/at32ap700x/gpio.c
include/asm-avr32/arch-at32ap700x/clk.h
include/con

Merge branch 'fixes' into cleanups

Conflicts:

board/atmel/atngw100/atngw100.c
board/atmel/atstk1000/atstk1000.c
cpu/at32ap/at32ap700x/gpio.c
include/asm-avr32/arch-at32ap700x/clk.h
include/configs/atngw100.h
include/configs/atstk1002.h
include/configs/atstk1003.h
include/configs/atstk1004.h
include/configs/atstk1006.h
include/configs/favr-32-ezkit.h
include/configs/hammerhead.h
include/configs/mimc200.h

show more ...


# f68a0c91 09-Dec-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of /home/wd/git/u-boot/custodians


# 695a5f33 09-Dec-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of git://git.denx.de/u-boot-usb


# d2776827 07-Dec-2008 Stefan Althoefer <stefan.althoefer@web.de>

USB: descriptor handling

Hi,

I found a bug when working with the u-boot USB subsystem on IXP425 processor
(big endian Xscale aka ARMv5).
I recognized that the second usb_endpoint_descriptor of the

USB: descriptor handling

Hi,

I found a bug when working with the u-boot USB subsystem on IXP425 processor
(big endian Xscale aka ARMv5).
I recognized that the second usb_endpoint_descriptor of the attached memory
stick was corrupted.

The reason for this are the packed structures below (either u-boot and
u-boot-usb):

--------------
/* Endpoint descriptor */
struct usb_endpoint_descriptor {
unsigned char bLength;
unsigned char bDescriptorType;
unsigned char bEndpointAddress;
unsigned char bmAttributes;
unsigned short wMaxPacketSize;
unsigned char bInterval;
unsigned char bRefresh;
unsigned char bSynchAddress;

} __attribute__ ((packed));
/* Interface descriptor */
struct usb_interface_descriptor {
unsigned char bLength;
unsigned char bDescriptorType;
unsigned char bInterfaceNumber;
unsigned char bAlternateSetting;
unsigned char bNumEndpoints;
unsigned char bInterfaceClass;
unsigned char bInterfaceSubClass;
unsigned char bInterfaceProtocol;
unsigned char iInterface;

unsigned char no_of_ep;
unsigned char num_altsetting;
unsigned char act_altsetting;
struct usb_endpoint_descriptor ep_desc[USB_MAXENDPOINTS];
} __attribute__ ((packed));
------------

As usb_endpoint_descriptor is only 7byte in length, the start of all
odd ep_desc[] structures is not word aligned. This makes wMaxPacketSize
of these structures also not word aligned.

ARMv5 Architecture however does not support non-aligned multibyte
data type (see A2.8 of ARM Architecture Reference Manual).

Signed-off-by: Stefan Althoefer <stefan.althoefer@web.de>
Signed-off-by: Remy Böhmer <linux@bohmer.net>

show more ...


# 26f6a2b7 04-Dec-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of git://git.denx.de/u-boot-usb


# de39f8c1 26-Nov-2008 Michael Trimarchi <trimarchi@gandalf.sssup.it>

USB style patch, 80 chars strict

USB Code style patch

Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it>
Signed-off-by: Remy Böhmer <linux@bohmer.net>


# 48867208 10-Oct-2008 Remy Bohmer <linux@bohmer.net>

fix USB initialisation procedure

The max packet size is encoded as 0,1,2,3 for 8,16,32,64 bytes.
At some places directly 8,16,32,64 was used instead of the encoded
value. Made a enum for the options

fix USB initialisation procedure

The max packet size is encoded as 0,1,2,3 for 8,16,32,64 bytes.
At some places directly 8,16,32,64 was used instead of the encoded
value. Made a enum for the options to make this more clear and to help
preventing similar errors in the future.

After fixing this bug it became clear that another bug existed where
the 'pipe' is and-ed with PIPE_* flags, where it should have been
'usb_pipetype(pipe)', or even better usb_pipeint(pipe).

Also removed the triple 'get_device_descriptor' sequence, it has no use,
and Windows nor Linux behaves that way.
There is also a poll going on with a timeout when usb_control_msg() fails.
However, the poll is useless, because the flag will never be set on a error,
because there is no code that runs in a parallel that can set this flag.
Changed this to something more logical.

Tested on AT91SAM9261ek and compared the flow on the USB bus to what
Linux is doing. There is no difference anymore in the early initialisation
sequence.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>

show more ...


# becbbc7b 14-Aug-2008 Stefan Roese <sr@denx.de>

Merge branch 'master' of /home/stefan/git/u-boot/u-boot into next


# 9939ffd5 12-Aug-2008 Stefan Roese <sr@denx.de>

Merge branch 'master' of /home/stefan/git/u-boot/u-boot into next


# 81c4dc39 11-Aug-2008 Stefan Roese <sr@denx.de>

Merge branch 'master' of /home/stefan/git/u-boot/u-boot


# 91eb5d66 09-Aug-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of git://git.denx.de/u-boot-usb


# fd0f2f37 09-Jul-2008 Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>

usb: add support for R8A66597 usb controller

add support for Renesas R8A66597 usb controller.
This patch supports USB Host mode.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Sig

usb: add support for R8A66597 usb controller

add support for Renesas R8A66597 usb controller.
This patch supports USB Host mode.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>

show more ...


# 3596d55e 29-Mar-2008 Gerald Van Baren <vanbaren@cideas.com>

Merge git://www.denx.de/git/u-boot into uboot


# e813eae3 26-Mar-2008 Anatolij Gustschin <agust@denx.de>

Fix compilation error in cmd_usb.c

This patch fixes compilation error
cmd_usb.c: In function 'do_usb':
cmd_usb.c:552: error: void value not ignored as it ought to be

Signed-off-by: Anatolij Gustsch

Fix compilation error in cmd_usb.c

This patch fixes compilation error
cmd_usb.c: In function 'do_usb':
cmd_usb.c:552: error: void value not ignored as it ought to be

Signed-off-by: Anatolij Gustschin <agust@denx.de>

show more ...


# 841e5edd 26-Mar-2008 Anatolij Gustschin <agust@denx.de>

Fix compilation error in cmd_usb.c

This patch fixes compilation error
cmd_usb.c: In function 'do_usb':
cmd_usb.c:552: error: void value not ignored as it ought to be

Signed-off-by: Anatolij Gustsch

Fix compilation error in cmd_usb.c

This patch fixes compilation error
cmd_usb.c: In function 'do_usb':
cmd_usb.c:552: error: void value not ignored as it ought to be

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>

show more ...


# b8685aff 22-Sep-2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

Merge git://www.denx.de/git/u-boot

Conflicts:

CREDITS


# 93f79834 21-Aug-2007 Stefan Roese <sr@denx.de>

Merge with /home/stefan/git/u-boot/u-boot-ppc4xx


# 19909edb 15-Aug-2007 Michal Simek <monstr@monstr.eu>

Merge git://www.denx.de/git/u-boot into merge


# b706d635 15-Aug-2007 Stefan Roese <sr@denx.de>

Merge with git://www.denx.de/git/u-boot.git


# d61ea148 15-Aug-2007 Stefan Roese <sr@denx.de>

Merge with git://www.denx.de/git/u-boot.git


# 3b3bff4c 14-Aug-2007 Stefan Roese <sr@denx.de>

Merge with git://www.denx.de/git/u-boot.git


1234567