- Oct 19, 2012
-
-
Alison Wang authored
The following commit introduces some build failures for ColdFire platform. commit abaef69f Author: Marek Vasut <marex@denx.de> Date: Thu Sep 13 16:51:38 2012 +0200 Add the missed header files. Sign-off-by:
Alison Wang <b18965@freescale.com>
-
Marek Vasut authored
The following warning was produced, fix it: mcfmii.c: In function 'mcffec_miiphy_write': mcfmii.c:318:8: warning: variable 'rdreg' set but not used [-Wunused-but-set-variable] Signed-off-by:
Marek Vasut <marex@denx.de> Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com> Cc: Jason Jin <jason.jin@freescale.com>
-
- Oct 17, 2012
-
-
Marek Vasut authored
Add kerneldoc annotations into serial core. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
Marek Vasut authored
Reorder the get_current() function to make it a bit more readable. The code does not grow and there is minor change in the code logic, where dev != NULL is now checked in any case. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
Marek Vasut authored
Reorder serial_assign() function to get rid of the extra level of indentation. Also, adjust the return value to be -EINVAL instead of positive one to be more consistent. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
Marek Vasut authored
Replace the in-place ad-hoc implementation of serial_puts() within the drivers with default_serial_puts() call. This cuts down on the code duplication quite a bit. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
Marek Vasut authored
U-Boot contains a lot of duplicit implementations of serial_puts() call which just pipes single characters into the port in loop. Implement function that does this behavior into common code, so others can make easy use of it. This function is called default_serial_puts() and it's sole purpose is to call putc() in loop on the whole string passed to it. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
- Oct 16, 2012
-
-
Tetsuyuki Kobayashi authored
Use setbits/clrbits macro when read-modify-write register. Signed-off-by:
Tetsuyuki Kobayashi <koba@kmckk.co.jp> Acked-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
-
Tetsuyuki Kobayashi authored
Before this patch, i2c_{read,write} always returned 0. Check TACK in i2c_raw_{read,write} so that i2c_{read,write} return non-zero when error. Acked-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Tetsuyuki Kobayashi <koba@kmckk.co.jp>
-
Tetsuyuki Kobayashi authored
Before this patch i2c_probe() always returned 0 and "i2c probe" command did not work properly. Modify i2c_set_addr() to check TACK when waiting DTE and make i2c_probe() call this function. Acked-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Tetsuyuki Kobayashi <koba@kmckk.co.jp>
-
Tetsuyuki Kobayashi authored
sh_i2c.c support I2C0 and I2C1. This patch extends it to I2C4. Acked-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Tetsuyuki Kobayashi <koba@kmckk.co.jp>
-
Tetsuyuki Kobayashi authored
Adjust i2c_raw_read() in sh_i2c.c to work for SH73A0. After this patch, "i2c md" and "i2c mw" command on U-Boot work properly on KZM-A9-GT board. Acked-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Tetsuyuki Kobayashi <koba@kmckk.co.jp>
-
Tetsuyuki Kobayashi authored
Correct BUSY bit define in ICSR from (1<<3) to (1<<4). Acked-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Tetsuyuki Kobayashi <koba@kmckk.co.jp>
-
Tetsuyuki Kobayashi authored
R-mobile SoC (at least SH73A0) has extension bits to store 8th bit of iccl and icch. This patch add support for the extentin bits. Acked-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by:
Tetsuyuki Kobayashi <koba@kmckk.co.jp>
-
- Oct 15, 2012
-
-
Benoît Thébaudeau authored
The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3 clocks have different clock gate control bit-fields. The existing code was correct only for i.MX53, so this patch fixes the i.MX51 use case. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Jana Rapava <fermata7@gmail.com> Cc: Wolfgang Grandegger <wg@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il>
-
Benoît Thébaudeau authored
Use clock gate definitions having names showing clearly the gated clock instead of names giving only a register field index. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
-
Matthias Weisser authored
i2c didn't work on imx25 due to missing MXC_IPG_PERCLK. Now using MXC_I2C_CLK on all imx systems using i2c. Signed-off-by:
Matthias Weisser <weisserm@arcor.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Eric Nelson authored
Add meaningful constants for each clock channels and use them for enabling and disabling i.MX6 clocks. Includes an update to enable/disable the IPU1 clock in drivers/video/ipu_common to remove IMX5x register access when used on i.MX6 as discussed in V1: http://patchwork.ozlabs.org/patch/185129/ Signed-off-by:
Eric Nelson <eric.nelson@boundarydevices.com>
-
Lucas Stach authored
Boards may require a different pinmux setup for NAND than the default one. Add a way to call into board specific code to set this up. Signed-off-by:
Lucas Stach <dev@lynxeye.de> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Tom Warren authored
The move is pretty straight-forward. ap20.h and tegra20.h were renamed to ap.h and tegra.h. Some files remain in arch-tegra20 but 'include' a file in 'arch-tegra' with #defines & structs that will be common between T20 and T30 HW. HW-specific #defines, etc. stay in the 'arch-tegra20' 'root' file. All boards build OK w/MAKEALL -s tegra20. Checkpatch.pl runs clean. Seaboard works OK. Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Simon Glass authored
These are read from the fdt - add a debug feature to display the mapping on start-up. See that we get debug output listing the keycodes Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Some keyboards will not need a key ghosting filter, so make this feature optional. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It is inconvenient to have to specify the keyboard repeat and delay at init time if it is not yet available, so move this into a separate function. Some drivers will want to do this when their keyboard init routine is actually called. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Some issues with this were not addressed in the previous series. Fix up the binding decoding to deal with what is actually expected in the fdt. This corrects the broken keyboard on seaboard. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Pavel Herrmann authored
- block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt not ulong. - We also move the extern of sata_dev_desc into <sata.h> - Remove now duplicate declarations from driver-specific headers. Signed-off-by:
Tom Rini <trini@ti.com> Signed-off-by:
Pavel Herrmann <morpheus.ibis@gmail.com>
-
Tom Rini authored
sata_write() takes a const void as the last argument. Fixing this means we also need to make ata_low_level_rw_lba{28,48} also take a const void. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
These functions take lbaint_t for blkcnt. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
- sata_write() takes a const void as the last argument. Fixing this means we also need to make ata_low_level_rw_lba{28,48} also take a const void. - Both sata_{read,write} take lbaint_t for blkcnt and ulong for blknr Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
sata_write() takes a const void as the last argument. Fixing this means we also need to make ata_low_level_rw_lba{28,48} also take a const void. Acked-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
While in here also: - Switch to debug from custom PRINTF for debugging. - Use mdelay rather than custom msleep. Signed-off-by:
Tom Rini <trini@ti.com>
-
Lukasz Dalek authored
Add to pxa25x based devices support for USB ethernet gadget. This is a port of pxa25x UDC driver from Linux kernel. Signed-off-by:
Lukasz Dalek <luk0104@gmail.com>
-
Lukasz Dalek authored
Removed DEV_CONFIG_CDC and DEV_CONFIG_SUBSET and replaced it with CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET. Signed-off-by:
Lukasz Dalek <luk0104@gmail.com>
-
Lukasz Dalek authored
Introduced CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET as preparation for removal DEV_CONFIG_CDC and DEV_CONFIG_SUBSET Signed-off-by:
Lukasz Dalek <luk0104@gmail.com>
-
Lukasz Dalek authored
PXA25X chips don't support alternate settings so driver uses non-CDC driver. But only code defined between DEV_CONFIG_CDC signals that network is up. This patch is fixing this bug by signaling that network is up after USB SET_INTERFACE request. Signed-off-by:
Lukasz Dalek <luk0104@gmail.com>
-
Lucas Stach authored
Allows for easy configuration of the VBUS indicator related ULPI config bits. Also move the external indicator setup from ulpi_set_vbus() to the new function. Signed-off-by:
Lucas Stach <dev@lynxeye.de> Acked-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Lucas Stach authored
This is clearly some sort of debug output and should not be printed during normal operation. Signed-off-by:
Lucas Stach <dev@lynxeye.de>
-
Lucas Stach authored
EHCI interface now supports more than one controller. Wire up our usb functions to use this new interface. Signed-off-by:
Lucas Stach <dev@lynxeye.de>
-
Lucas Stach authored
Allows to initialize more than one USB controller at once. v2: print message when controller stop fails Signed-off-by:
Lucas Stach <dev@lynxeye.de> Reviewed-by:
Marek Vasut <marex@denx.de>
-