- Jul 31, 2012
-
-
Rajeshwari Shinde authored
This patch adds the base address for I2C. Signed-off-by:
Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by:
Rajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Rajeshwari Shinde authored
This adds i2c clock information for EXYNOS5. Signed-off-by:
Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by:
Doug Anderson <dianders@chromium.org> Signed-off-by:
Rajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Troy Kisky authored
This includes bus recovery support. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Jason Liu <r64343@freescale.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
This include is not needed. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Jason Liu <r64343@freescale.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Add support for calling a function that will toggle the SCL line to return the bus to idle condition. The actual toggling function is added in a later patch. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
This is prep work for CONFIG_I2C_MULTI_BUS. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Troy Kisky authored
Retry unexpected hardware errors. This will not retry a received NAK. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
No need to continue waiting if arbitration lost. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Troy Kisky authored
The i2c controller cannot be both master and slave in the same transaction. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
This helps in a multiple bus master environment which is why I also added a wait for bus idle. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
imx_reset is only referenced once so move to that location. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Troy Kisky authored
imx_start is only referenced once so move to that location. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Troy Kisky authored
wait_for_sr_state returns i2sr on success so no need to read again. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Troy Kisky authored
Not using udelay gives a more accurate timeout. The current implementation of udelay in imx-common does not seem to wait at all for a udelay(1). Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de> ---- V2: Added WATCHDOG_RESET as suggested by Marek Vasut add error message when stop fails mxc_i2c: code i2c_probe as a 0 length i2c_write Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Initial code of i2c_read and i2c_write is identical, move to subroutine. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Troy Kisky authored
Let's clear the sr register before waiting for bit to be set, instead of clearing it after hardware sets it. No real operational difference here, but allows combining of i2c_imx_trx_complete and i2c_imx_bus_busy in later patches. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Troy Kisky authored
Use tx_byte function instead of having 3 copies of the code. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Troy Kisky authored
This is always selected when CONFIG_I2C_MXC is selected, so it adds no value. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Troy Kisky authored
Instead of clearing 2 bits, all the other bits were set because '|=' was used instead of '&='. Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Holger Brunck authored
If we switch to a different i2c bus in changing the mux config for the i2c mux, we have to be sure to deblock the bus also before realocation. Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Valentin Longchamp <valentin.longchamp@keymile.com>
-
- Jul 30, 2012
-
-
git://git.denx.de/u-bootWolfgang Denk authored
* 'next' of git://git.denx.de/u-boot : MPC8xx: Fixup warning in arch/powerpc/cpu/mpc8xx/cpu.c doc: cleanup - move board READMEs into respective board directories net: sh_eth: add support for SH7757's GETHER net: sh_eth: modify the definitions of regsiter net: sh_eth: add SH_ETH_TYPE_ condition net: sh_eth: clean up for the SH7757's code net: fec_mxc: Fix MDC for xMII net: fec_mxc: Fix setting of RCR for xMII net: nfs: make NFS_TIMEOUT configurable net: Inline the new eth_setenv_enetaddr_by_index function net: allow setting env enetaddr from net device setting net/designware: Consecutive writes to the same register to be avoided CACHE: net: asix: Fix asix driver to work with data cache on net: phy: micrel: make ksz9021 phy accessible net: abort network initialization if the PHY driver fails phylib: phy_startup() should return an error code on failure net: tftp: fix type of block arg to store_block Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Linu Cherian authored
Hawkboard was using the wrong nand_read_page version for SPL image. As a side effect, the u-boot image loaded by the SPL from nand was getting corrupted. Enable CONFIG_SYS_NAND_HW_ECC_OOBFIRST to select the correct nand_read_page algorithm for SPL. Signed-off-by:
Linu Cherian <linucherian@gmail.com> Acked-by:
Sughosh Ganu <urwithsughosh@gmail.com> Acked-by:
Tom Rini <trini@ti.com>
-
git://git.denx.de/u-boot-mipsWolfgang Denk authored
* 'master' of git://git.denx.de/u-boot-mips : MIPS: fix renaming of inca-swap-bytes to xway-swap-bytes Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Marek Vasut authored
cpu.c: In function ‘check_CPU’: cpu.c:256:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Subject slightly changed. Signed-off-by:
Wolfgang Denk <wd@denx.de> Tested on TQM855MDCBAB7-T66.102 (MPC855T at 66 MHz) and TQM860LDB0A3-T50.202 (MPC860T at 50MHz). Tested-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de>
-
- Jul 29, 2012
-
-
Wolfgang Denk authored
make would spit out a message like Generating /tmp/build/include/generated/asm-offsets.h even when running with option "-s". Fix this. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
Also drop a few files referring to no longer / not yet supported boards. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Stefan Roese <sr@denx.de> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Andy Fleming <afleming@gmail.com> Cc: Jason Jin <jason.jin@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Acked-by:
Stefano Babic <sbabic@denx.de> Acked-by:
Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
-
- Jul 27, 2012
-
-
Daniel Schwierzeck authored
Fix some remains of the renaming of inca-swap-bytes introduced in commit 60b74bde MIPS: INCA-IP: rename inca-swap-bytes host tool Signed-off-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jul 24, 2012
-
-
Joe Hershberger authored
NetConsole may call NetSendUDPPacket before NetLoop is called. This will cause the source MAC address (NetOurEther) to be wrong. Instead of only changing it in NetLoop, move it to NetLoopInit so that it is also updated when net_init() is called (especially by nc_start()). Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Reported-by:
Michael Walle <michael@walle.cc> Acked-by:
Michael Walle <michael@walle.cc>
-
Yoshihiro Shimoda authored
SH7757 has 2 ETHERs and 2 GETHERs. This patch supports the SH7757's GETHER. If CONFIG_SH_ETHER_USE_GETHER is defined using SH7757, the driver handles the GETHER. Signed-off-by:
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
-
Yoshihiro Shimoda authored
The previous code had many similar definitions in each CPU. This patch borrows from the sh_eth driver of Linux kernel. Signed-off-by:
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by:
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
-