- Mar 30, 2012
-
-
Anatolij Gustschin authored
Fix: tegra2_mmc.c: In function 'mmc_send_cmd': tegra2_mmc.c:230:3: warning: 'mask' may be used uninitialized in this function [-Wuninitialized] Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Doug Anderson <dianders@chromium.org> Cc: Tom Warren <twarren@nvidia.com>
-
- Mar 29, 2012
-
-
Yen Lin authored
Add basic i2c driver for Tegra2 with 8- and 16-bit address support. The driver requires CONFIG_OF_CONTROL to obtain its configuration from the device tree. (Simon Glass: sjg@chromium.org modified for upstream) Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Heiko Schocher <hs@denx.de> Acked-by:
Stephen Warren <swarren@wwwdotorg.org> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Simon Glass authored
This adds basic support for the Tegra2 USB controller. Board files should call board_usb_init() to set things up. Configuration is performed through the FDT, with aliases used to set the order of the ports, like this fragment: aliases { /* This defines the order of our USB ports */ usb0 = "/usb@0xc5008000"; usb1 = "/usb@0xc5000000"; }; drivers/usb/host files ONLY: Acked-by: Remy Bohmer <linux@bohmer.net> Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Simon Glass authored
CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning field in the EHCI controller on reset. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Remy Bohmer <linux@bohmer.net> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Eric Nelson authored
Ensure that transmit and receive buffers are cache-line aligned. Invalidate cache for each packet as received, update receive buffer descriptors one cache line at a time, flush cache before transmitting. Original patch by Marek: http://lists.denx.de/pipermail/u-boot/2012-February/117695.html Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de> Tested-by:
Marek Vasut <marex@denx.de>
-
Marek Vasut authored
This utilizes the newly introduced bounce buffers in the MMC layer. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Andy Fleming <afleming@gmail.com> Cc: Fabio Estevam <festevam@gmail.com>
-
Marek Vasut authored
This implements generic bounce buffer at the end of MMC command submission chain. Therefore if unaligned data are passed, they are copied. This stuff should be pushed down into the MMC subsystem to squash all places generating these unaligned data. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Andy Fleming <afleming@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
The desc_append() now flushes descriptors into RAM. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
-
- Mar 28, 2012
-
-
Rob Herring authored
Include linux/compiler.h to fix build error due to missing __aligned definition. Signed-off-by:
Rob Herring <rob.herring@calxeda.com>
-
- Mar 27, 2012
-
-
jacopo mondi authored
Implementation of receive-transmit mode for omap3 MCSPI. Introduces full duplex communication, needed by some spi devices (such as enc28j60). Signed-off-by:
jacopo mondi <mondi@cs.unibo.it> <j.mondi@voltaelectronics.com>
-
Grazvydas Ignotas authored
twl4030_pmrecv_vsel_cfg currently first sets up device group (effectively enabling the supply), and only then sets vsel (selects voltage). This could lead to wrong voltage for a short time, or even long time if second i2c write fails. Fix this by writing vsel first and device group after that. Also introduce error checking to not enable the supply if we failed to set the voltage, and start logging errors as power supply problems are usually important. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com>
-
Stefano Babic authored
The following warnings are reported for boards using SOFT ECC. omap_gpmc.c:33:30: warning: 'hw_nand_oob' defined but not used omap_gpmc.c:78:13: warning: 'omap_hwecc_init' defined but not used omap_gpmc.c:116:12: warning: 'omap_correct_data' defined but not used omap_gpmc.c:182:12: warning: 'omap_calculate_ecc' defined but not used omap_gpmc.c:208:13: warning: 'omap_enable_hwecc' defined but not used Signed-off-by:
Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Scott Wood <scottwood@freescale.com>
-
Mike Frysinger authored
We've already got a mdelay() func in common code, so use that instead. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Fabio Estevam authored
Add proper IO accessors for mx6 usb registers. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Stefano Babic <sbabic@denx.de> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Jason Liu <r64343@freescale.com>
-
Fabio Estevam authored
Instead of returning -1, it is preferred to return -ETIMEDOUT in case of timeouts. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Fabio Estevam authored
Return error in case of invalid pmic_i2c_tx_num. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Lukasz Majewski <l.majewski@samsung.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Mar 26, 2012
-
-
Robert Delien authored
This patch renames mx28_register to mx28_register_32 in order to prepare for the introduction of an 8-bit register, mx28_register_8. Signed-off-by:
Robert Delien <robert@delien.nl> Acked-by:
Marek Vasut <marex@denx.de> Tested-by:
Marek Vasut <marex@denx.de>
-
Wolfgang Grandegger authored
Currently, only USB Host 1 is supported. Cc: Remy Bohmer <linux@bohmer.net> Signed-off-by:
Wolfgang Grandegger <wg@denx.de>
-
Marek Vasut authored
Say good bye to some ancient, very broken and unused code. Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Yoshihiro Shimoda authored
The module has 4 chip select signals. This patch supports it. Signed-off-by:
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- Mar 21, 2012
-
-
Tao Hou authored
Without the fix, flash_write_cfibuffer will terminate the erased status check once an all-0xFF word has been found instead of continuing the erased status check utill the first non-0xFF word. Signed-off-by:
Tao Hou <hotforest@gmail.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Mar 18, 2012
-
-
Ajay Bhargav authored
This patch adds support for USB EHCI driver for Armada100 SOCs. Signed-off-by:
Ajay Bhargav <ajay.bhargav@einfochips.com>
-
Ajay Bhargav authored
This patch adds USB host controller's UTMI PHY interface driver for Armada100 SOCs. Signed-off-by:
Ajay Bhargav <ajay.bhargav@einfochips.com>
-
Łukasz Majewski authored
The dev->req_config flag was indicating that the forwarded request needs to perform the usb gadget delayed status. This is however not needed anymore, so it can be removed. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Shiraz Hashim authored
While receiving packets from FIFO sometimes the buffer provided was nonaligned. Fix this by taking a temporary aligned buffer and then copying the content to nonaligned buffer. Signed-off-by:
Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by:
Amit Virdi <amit.virdi@st.com>
-
Amit Virdi authored
Signed-off-by:
Amit Virdi <amit.virdi@st.com>
-
Vipin KUMAR authored
This patch adds the support for usb device high speed for designware peripheral. Signed-off-by:
Vipin Kumar <vipin.kumar@st.com> Signed-off-by:
Amit Virdi <amit.virdi@st.com>
-
Vipin KUMAR authored
This patch fixes a few bugs in USB device controller driver. The fixes are as follows 1. Adding error condition checks eg. NULL return 2. Endpoint other than endpoint 0 (control endpoint) are initialized only if usb state machine reaches STATE_ADDRESSED or above 3. Zero length packet handling corrected 4. Dead code removed 5. Bulk out endpoint returns after servicing 1 interrupt and returns back to service if more interrupts are pending Signed-off-by:
Vipin Kumar <vipin.kumar@st.com> Signed-off-by:
Amit Virdi <amit.virdi@st.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Vipin KUMAR authored
The earlier usb device controller driver was specific to spear platforms. This patch implements the usb device controller driver as a generic controller which can be reused by other platforms using this peripheral. Signed-off-by:
Vipin Kumar <vipin.kumar@st.com> Signed-off-by:
Amit Virdi <amit.virdi@st.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Mike Frysinger authored
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:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Marek Vasut <marex@denx.de>
-
Mike Frysinger authored
musb_hcd.c: In function 'musb_submit_rh_msg': musb_hcd.c:827:2: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
A few subsystems are using the same define "NAMESIZE". This has been working so far because they define it to the same number. However, I want to change the size of eth_device's NAMESIZE, so rather than tweak the define names, simply drop references to it. Almost no one does, and the handful that do can easily be changed to a sizeof(). Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Mar 13, 2012
-
-
Sven Schnelle authored
All boards are using the gen_atmel_mci driver now, so no need to carry the old driver around. Signed-off-by:
Sven Schnelle <svens@stackframe.org> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Sven Schnelle authored
gen_atmel_mci works on AVR32 as well, so no need to use the legacy mmc driver. This also has the nice side effect of being able to use SDHC cards an those boards. Signed-off-by:
Sven Schnelle <svens@stackframe.org> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
- Mar 12, 2012
-
-
Simon Glass authored
This provides a way of simulating GPIOs by setting values which are seen by the normal gpio_get/set_value() calls. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Mar 08, 2012
-
-
Phil Edworthy authored
The generalised calculation of the serial bit rate reg also applies to sh7264, it was just the clock speed that was set incorrectly. Signed-off-by:
Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Nobuhiro Iwamatsu authored
Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Nobuhiro Iwamatsu authored
EDMR_INIT_CNT holds the check count of initialization. Since there were more same values (1000), this collected as TIMEOUT_CNT. Signed-off-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Nobuhiro Iwamatsu authored
SH_ETH_PHY_DELAY is not used. Signed-off-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-