- 11 3月, 2014 1 次提交
-
-
由 Stephen Warren 提交于
Many USB host controller drivers contain almost identical copies of the same virtual root hub descriptors. Put these into a common file to avoid duplication. Note that there were some very minor differences between the descriptors in the various files, such as: - USB 1.0 vs. USB 1.1 - Manufacturer/Device ID - Max packet size - String content I assume these aren't relevant. Cc: Thomas Lange <thomas@corelatus.se> Cc: Shinya Kuribayashi <skuribay@pobox.com> Cc: Gary Jennejohn <garyj@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Eric Millbrandt <emillbrandt@coldhaus.com> Cc: Pierre Aubert <p.aubert@staubli.com> Cc: Stefan Roese <sr@denx.de> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: Denis Peter <d.peter@mpl.ch> Cc: Rodolfo Giometti <giometti@linux.it> Cc: Zhang Wei <wei.zhang@freescale.com> Cc: Mateusz Zalega <m.zalega@samsung.com> Cc: Remy Bohmer <linux@bohmer.net> Cc: Markus Klotzbuecher <mk@denx.de> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Gary Jennejohn <garyj@denx.de> Cc: C Nauman <cnauman@diagraph.com> Cc: David Müller <d.mueller@elsoft.ch> Cc: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Thomas Abraham <t-abraham@ti.com> Cc: Tom Rini <trini@ti.com> Cc: Andrew Murray <amurray@embedded-bits.co.uk> Cc: Matej Frančeškin <matej.franceskin@comtrade.com> Cc: Cliff Cai <cliff.cai@analog.com> Cc: Bryan Wu <cooloney@gmail.com> Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
-
- 09 11月, 2013 1 次提交
-
-
由 Mateusz Kulikowski 提交于
submit_common_msg should report amount of data passed from/to device. Instead, it always returned size requested by Host. Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com>
-
- 21 10月, 2013 2 次提交
-
-
由 Troy Kisky 提交于
This parameter will later be used to verify OTG ports. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Mateusz Zalega 提交于
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. New API allows selective initialization of USB controllers whenever needed. Signed-off-by: NMateusz Zalega <m.zalega@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Reviewed-by: NLukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Lukasz Majewski <l.majewski@samsung.com>
-
- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 12 4月, 2013 1 次提交
-
-
由 Benoît Thébaudeau 提交于
Following the removal of the smdk6400 board, the s3c64xx SoC becomes unused, so remove associated code. It will still be possible to restore it later from the Git history if necessary. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
- 20 11月, 2012 1 次提交
-
-
由 Ilya Yanok 提交于
Linux usb/ch9.h seems to have all the same information (and more) as usbdescriptors.h so use the former instead of the later one. As a consequense of this change USB_SPEED_* values don't correspond directly to EHCI speed encoding anymore, I've added necessary recoding in EHCI driver. Also there is no point to put speed into pipe anymore so it's removed and a bunch of host drivers fixed to look at usb_device->speed instead. Old usbdescriptors.h included is not removed as it seems to be used by old USB device code. This makes usb.h and usbdevice.h incompatible. Fortunately the only place that tries to include both are the old MUSB code and it needs usb.h only for USB_DMA_MINALIGN used in aligned attribute on musb_regs structure but this attribute seems to be unneeded (old MUSB code doesn't support any DMA at all). Signed-off-by: NIlya Yanok <ilya.yanok@cogentembedded.com>
-
- 16 10月, 2012 1 次提交
-
-
由 Lucas Stach 提交于
Carry an index in the lowlevel usb functions to make specify the respective usb controller. Also pass through an controller struct from lowlevel_init to the creation of the root usb device of this controller. Signed-off-by: NLucas Stach <dev@lynxeye.de> Reviewed-by: NMarek Vasut <marex@denx.de>
-
- 01 9月, 2012 1 次提交
-
-
由 Troy Kisky 提交于
commit 5f6aa03f USB: Fix complaints about strict aliasing in OHCI-HCD tried to fix this, but gcc4.4 still complains. So, this patch basically reverts the above and does a simpler fix. also, the above commit incorrectly changed /* corresponds to data_buf[4-7] */ datab [1] = 0; to /* corresponds to databuf.u8[4-7] */ databuf.u8[1] = 0; This patch also fixes that. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
- 19 3月, 2012 1 次提交
-
-
由 Mike Frysinger 提交于
Common code has a mdelay() func, so use that instead of the usb-specific wait_ms() func. This also fixes the build errors: ohci-hcd.c: In function 'submit_common_msg': /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1519:9: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1816:10: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1827:10: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1844:10: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1563:11: sorry, unimplemented: called from here /usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available ohci-hcd.c:1583:9: sorry, unimplemented: called from here make[1]: *** [ohci-hcd.o] Error 1 Signed-off-by: NMike Frysinger <vapier@gentoo.org> Acked-by: NMarek Vasut <marex@denx.de>
-
- 03 3月, 2012 1 次提交
-
-
由 amartin@nvidia.com 提交于
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: NAllen Martin <amartin@nvidia.com>
-
- 11 12月, 2011 1 次提交
-
-
由 Marek Vasut 提交于
Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
-
- 22 10月, 2011 1 次提交
-
-
由 Anatolij Gustschin 提交于
There are several mdelay() definitions in the driver and board code. Remove them all and provide a common mdelay() in lib/time.c. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 10 10月, 2011 1 次提交
-
-
由 Wolfgang Denk 提交于
Fix: ohci-hcd.c: In function 'dl_transfer_length': ohci-hcd.c:968:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable] Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Remy Bohmer <linux@bohmer.net> Acked-by: NRemy Bohmer <linux@bohmer.net>
-
- 20 2月, 2011 1 次提交
-
-
由 Simon Glass 提交于
Changed both to use a common timeout for URB submission, since they were using different values and EHCI's was too short. Also fixed EHCI to actually check if urb submission succeeded, rather than silently continuing into the weeds. Change-Id: I7f71499ffaa05187d8e5618db2419e1606007b82 Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 13 10月, 2010 1 次提交
-
-
由 Marek Vasut 提交于
This fixes TIMEOUT with my Kingston 32GB USB3.0 flashdrive, which I experienced on my PXA270 (USB 1.1) Vpac270 board. Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
-
- 01 7月, 2010 1 次提交
-
-
由 Becky Bruce 提交于
This avoids a build warning that you see if anyone in the header chain has included io.h (which is coming shortly). The previous code redefined readl/writel; this patch renames it to be specific to ohci. The defines are also moved from ohci-hcd.c to ohci.h. Signed-off-by: NBecky Bruce <beckyb@kernel.crashing.org>
-
- 28 11月, 2009 1 次提交
-
-
This patch adds a unified s3c24x0 cpu header file that selects the header file for the specific s3c24x0 cpu from the SOC and CPU configs defined in board config file. This removes the current chain of s3c24-type #ifdef's from the s3c24x0 code. Signed-off-by: NKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 20 11月, 2009 1 次提交
-
-
This patch adds a unified s3c24x0 cpu header file that selects the header file for the specific s3c24x0 cpu from the SOC and CPU configs defined in board config file. This removes the current chain of s3c24-type #ifdef's from the s3c24x0 code. Signed-off-by: NKevin Morfitt <kevin.morfitt@fearnside-systems.co.uk> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 16 5月, 2009 1 次提交
-
-
由 Detlev Zundel 提交于
Signed-off-by: NDetlev Zundel <dzu@denx.de>
-
- 07 4月, 2009 1 次提交
-
-
move to linux usb driver organisation as following drivers/usb/gadget drivers/usb/host drivers/usb/musb Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: NRemy Bohmer <linux@bohmer.net>
-
- 12 2月, 2009 1 次提交
-
-
由 Jerry Van Baren 提交于
At some point an intentional double space at the end of the sentence got changed into a tab in the GPL header line: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the This patch fixes the damage. Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
- 29 11月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: NRemy Böhmer <linux@bohmer.net>
-
- 19 10月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 14 10月, 2008 1 次提交
-
-
由 Remy Bohmer 提交于
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: NRemy Bohmer <linux@bohmer.net> Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
-
- 17 9月, 2008 1 次提交
-
-
由 Remy Bohmer 提交于
This patch refactors some large routines of the USB OHCI code by making some routines smaller and more readable which helps debugging and understanding the code. (Makes the code looks somewhat more like the Linux implementation.) Also made entire file compliant to Linux Coding Rules (checkpatch.pl compliant) Signed-off-by: NRemy Bohmer <linux@bohmer.net> Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
-
- 09 9月, 2008 1 次提交
-
-
由 Remy Bohmer 提交于
A recent commit (936897d4) enabled the usb_stop() command in common/cmd_bootm.c which was not enabled for some time, because no board did actually set the CFG_CMD_USB flag. So, now the usb_stop() is executed before loading the linux kernel. However, the usb_ohci driver hangs up (at least on AT91SAM) if the driver is stopped twice (e.g. the peripheral clock is stopped on AT91). If some other piece of code calls usb_stop() before the bootm command, this command will hangup the system during boot. (usb start and stop is typically used while booting from usb memory stick) But, stopping the usb stack twice is useless anyway, and a flag already existed that kept track on the usb_init()/usb_stop() calls. So, we now check if the usb stack is really started before we stop it. This problem is now fixed in both the upper as low-level layer. Signed-off-by: NRemy Bohmer <linux@bohmer.net> Acked-by: NMarkus Klotzbuecher <mk@denx.de>
-
- 06 9月, 2008 1 次提交
-
-
由 Yuri Tikhonov 提交于
Some of multi-function USB controllers (e.g. ISP1562) allow root hub resetting only via EHCI registers. So, this patch adds the corresponding kind of reset to OHCI's hc_reset() if the newly introduced CONFIG_PCI_EHCI_DEVNO option is set (e.g. for Socrates board). Signed-off-by: NYuri Tikhonov <yur@emcraft.com> Acked-by: NMarkus Klotzbuecher <mk@denx.de>
-
- 31 8月, 2008 1 次提交
-
-
由 Guennadi Liakhovetski 提交于
Notice: USB on S3C6400 currently works _only_ with switched off MMU. One could try to enable the MMU, but map addresses 1-to-1, and disable data cache, then it should work too and we could still profit from instruction cache. Signed-off-by: NGuennadi Liakhovetski <lg@denx.de>
-
- 27 5月, 2008 1 次提交
-
-
由 Sergei Poselenov 提交于
In case of several PCI USB controllers on a board this variable specifys which controller to use. See doc/README.generic_usb_ohci for details. Signed-off-by: NSergei Poselenov <sposelenov@emcraft.com>
-
- 22 5月, 2008 3 次提交
-
-
由 Christian Eggers 提交于
Sorry, I forgot this line: Signed-off-by: NChristian Eggers <ceggers@gmx.de> I think this must be swapped (result may be equal).
-
由 Christian Eggers 提交于
Signed-off-by: NChristian Eggers <ceggers@gmx.de> Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
-
由 Sergei Poselenov 提交于
Add new configuration variable CONFIG_PCI_OHCI_DEVNO. In case of several PCI USB controllers on a board this variable specifys which controller to use. Also add USB support for sokrates board. See doc/README.generic_usb_ohci for details. Signed-off-by: NSergei Poselenov <sposelenov@emcraft.com> Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
-
- 24 4月, 2008 2 次提交
-
-
由 Markus Klotzbücher 提交于
Signed-off-by: NMarkus Klotzbuecher <mk@denx.de>
-
由 Markus Klotzbücher 提交于
Signed-off-by: NMarkus Klotzbuecher <mk@denx.de> Signed-off-by: NDetlev Zundel <dzu@denx.de>
-
- 18 4月, 2008 1 次提交
-
-
由 Gururaja Hebbar K R 提交于
Signed-off-by: Ngururaja hebbar <gururajakr@sanyo.co.in>
-
- 15 3月, 2008 1 次提交
-
-
由 Stefan Roese 提交于
This patch adds CFG_OHCI_USE_NPS to the common USB-OHCI driver. This way a board just needs to define this new option to enable the "force NoPowerSwitching mode" instead of adding new CPU/architecture defines to the USB source itself. This new option will be used first with the new AMCC 460EX Canyonlands board port, which will be posted in a few days. This patch also fixes a small compilation problem when DEBUG is enabled. Signed-off-by: NStefan Roese <sr@denx.de>
-
- 12 1月, 2008 1 次提交
-
-
由 TsiChung Liew 提交于
(needed for M5475EVB) Signed-off-by: NTsiChungLiew <Tsi-Chung.Liew@freescale.com>
-
- 26 11月, 2007 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 19 11月, 2007 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-