- Mar 14, 2013
-
-
Tom Warren authored
Tegra30 requires the SD Bus Voltage & Power bits be set in the SD Power Control register. Tegra20 works w/o them set, but do it anyway for those SoCs as it's part of the SD spec. Also call a common board pad init routine (pad_init_mmc) in mmc_reset(), used by Tegra30 only for now. Note that Tegra20 SD/MMC HW differs enough from Tegra20 that a new compatible entry is used in the fdt compat_names/id tables. Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Tom Warren authored
tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc. Tested on Seaboard, fully functional. Tamonten boards (medcom-wide, plutux, and tec) use a different/new dtsi file w/common settings. Signed-off-by:
Tom Warren <twarren@nvidia.com> Signed-off-by:
Thierry Reding <thierry.reding@avionic-design.de> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Tom Warren authored
T114 has a slightly different I2C clock, with a new (extra) divisor in standard/fast mode and HS mode. Tested on my Dalmore, and the I2C clock is 100KHz +/- 3Hz on my Saleae Logic analyzer. Added a new entry in compat_names for T114 I2C since it differs from the previous Tegra SoCs. A flag is set when T114 I2C HW is found so new features like the extra clock divisor can be used. Signed-off-by:
Tom Warren <twarren@nvidia.com> Acked-by:
Laxman Dewangan <ldewangan@nvidia.com>
-
Lucas Stach authored
The ehci_hcd entry points were just calling into the Tegra USB functions. Now that they are in the same file we can just move over the implementation. Signed-off-by:
Lucas Stach <dev@lynxeye.de> Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Lucas Stach authored
This moves the Tegra USB implementation into the drivers/usb/host directory. Note that this merges the old /arch/arm/cpu/armv7/tegra20/usb.c file into ehci-tegra.c. No code changes, just moving stuff around. v2: While at it also move some defines and the usb.h header file to make usb driver usable for Tegra30. NOTE: A lot more work is required to properly init the PHYs and PLL_U on Tegra30, this is just to make porting easier and it does no harm here. Signed-off-by:
Lucas Stach <dev@lynxeye.de> Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
- Mar 11, 2013
-
-
Lokesh Vutla authored
A seperate omap_sys_ctrl_regs structure is defined for omap4 & 5. If there is any change in control module for any of the ES versions, a new structure needs to be created. In order to remove this dependency, making the register structure generic for all the omap4+ boards. Signed-off-by:
R Sricharan <r.sricharan@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Mugunthan V N authored
Before submitting packets to cpdma, phy status is updated on every packet which leads to delay in packet send intern reduces the Ethernet performance. Checking mdio status for each packet will reduce timetaken to send a packet and there by increasing the Ethernet performance. With this the performance is increased from 208KiB/s to 375KiB/s on EVMsk Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com>
-
- Mar 08, 2013
-
-
Enric Balletbo i Serra authored
Tested with an IGEPv2 board seems that current onenand_spl_load_image implementation doesn't work. This patch fixes this function changing the read loop and reading the onenand blocks from page to page. Tested with various IGEP based boards with a OneNAND from Numonyx. Signed-off-by:
Enric Balletbo i Serra <eballetbo@iseebcn.com>
-
Nikita Kiryanov authored
Currently, omap3_dss_panel_config() sets gfx_format to a value that is hardcoded in the code. This forces anyone who wants to use a different gfx_format to make adjustments after calling omap3_dss_panel_config(). This could be avoided if the value of gfx_format were parameterized as input for omap3_dss_panel_config(). Make gfx_format a field in struct panel_config, and update existing structs to set this field to the value that was originally hard coded. Cc: Wolfgang Denk <wd@denx.de> Cc: Jeroen Hofstee <jeroen@myspectrum.nl> Cc: Tom Rini <trini@ti.com> Cc: Anatolij Gustschin <agust@denx.de> Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Nikita Kiryanov authored
Add check for write protection in omap mmc driver. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> Reviewed-by:
Tom Rini <trini@ti.com>
-
Nikita Kiryanov authored
Add generic mmc write protection functionality. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Nikita Kiryanov authored
Implement driver check for card detection. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Nikita Kiryanov authored
Currently there's no appropriate place to store driver specific data because the pointer that is meant for that (priv) is being used to store the base address of mmc registers. Introduce a new struct for storing driver specific data. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il>
-
Nikita Kiryanov authored
There are 3 MMC/SD/SDIO controllers in OMAP SoCs, but only 2 structs are defined for devices. This leads to data being written outside of array bounds on systems that use all 3 controllers. Update hsmmc_dev array to the correct size. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il>
-
- Mar 04, 2013
-
-
Scott Jiang authored
Spi driver for bf60x is different from old one, so implement a new driver for it. Signed-off-by:
Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by:
Sonic Zhang <sonic.zhang@analog.com> Signed-off-by:
Bob Liu <lliubbo@gmail.com> Signed-off-by:
Sonic Zhang <sonic.adi@gmail.com>
-
Sonic Zhang authored
Add rsi/sdh support for bf60x. Signed-off-by:
Sonic Zhang <sonic.zhang@analog.com> Signed-off-by:
Bob Liu <lliubbo@gmail.com> Signed-off-by:
Sonic Zhang <sonic.adi@gmail.com>
-
- Mar 01, 2013
-
-
Simon Glass authored
Use setenv_ulong(), setenv_hex() and setenv_addr() in net/ Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Taylor Hutt authored
Implements the tstc() interface for the serial driver. Multiplexing the console between the serial port and a keyboard uses a polling method of checking if characters are available; this means that the serial console must be non-blocking when attempting to read characters. Signed-off-by:
Taylor Hutt <thutt@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Feb 28, 2013
-
-
Wolfgang Denk authored
Commit 8b710b16 started removing code for the unmaintained "ns9750dev" board; the board support is still broken, and not included anywhere in the Makefile or boards.cfg. Remove the remaining dead code. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Feb 23, 2013
-
-
Joe Hershberger authored
If the NAND is locked tight, commands such as lock and unlock will not work, but the NAND chip may not report an error. Check the lock tight status before attempting such operations so that an error status can be reported if we know the operation will not succeed. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- Feb 20, 2013
-
-
Holger Hans Peter Freyther authored
The differences include the number of GPIOs and that one is not required to set the pinmux on request. Signed-off-by:
Holger Hans Peter Freyther <holger@freyther.de>
-
- Feb 19, 2013
-
-
Scott Wood authored
This saved 640 bytes on MPC8536DS (a board with two of the six ports defined). Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- Feb 18, 2013
-
-
Tomas Novotny authored
The pinmux was generated from linux/arch/arm/mach-davinci/da830.c as of kernel version 3.7.5. If the driver is used for the da850, then SoC variant must be specified by CONFIG_SOC_DA850. Signed-off-by:
Tomas Novotny <tomas@novotny.cz> Cc: Tom Rini <trini@ti.com>
-
- Feb 15, 2013
-
-
Holger Brunck authored
If CONFIG_NAND_ECC_BCH is set we use 4-bit error corretion code instead of the 1-bit error correction code on the NAND device within this driver. Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> Acked-by:
Scott Wood <scottwood@freescale.com>
-
- Feb 11, 2013
-
-
Allen Martin authored
Add driver for tegra SPI "SLINK" style driver. This controller is similar to the tegra20 SPI "SFLASH" controller. The difference is that the SLINK controller is a genernal purpose SPI controller and the SFLASH controller is special purpose and can only talk to FLASH devices. In addition there are potentially many instances of an SLINK controller on tegra and only a single instance of SFLASH. Tegra20 is currently ths only version of tegra that instantiates an SFLASH controller. This driver supports basic PIO mode of operation and is configurable (CONFIG_OF_CONTROL) to be driven off devicetree bindings. Up to 4 devices per controller may be attached, although typically only a single chip select line is exposed from tegra per controller so in reality this is usually limited to 1. To enable this driver, use CONFIG_TEGRA_SLINK Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Allen Martin authored
Add support for configuring tegra SPI driver from devicetree. Support is keyed off CONFIG_OF_CONTROL. Add entry in seaboard dts file for spi controller to describe seaboard spi. Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
- Feb 06, 2013
-
-
Jagan Teki authored
Add support for Numonyx N25Q256A SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Add support for Numonyx N25Q32A SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Add support for Numonyx N25Q32 SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Add support for Numonyx N25Q64A SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
Add support for Winbond's W25Q64W SPI flash. This device is used on xilinx zynq emulation platform. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Jagan Teki authored
This patch corrected the first byte of idcode1 for S25FL256S SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Feb 04, 2013
-
-
Michal Simek authored
- arm_dcc_dev is already initialized. - Remove unused rc variable Warning log: arm_dcc.c: In function 'drv_arm_dcc_init': arm_dcc.c:145:6: warning: unused variable 'rc' [-Wunused-variable] Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Michal Simek authored
CONFIG_ARM_DCC_MULTI should be also removed in the patch "serial: Remove CONFIG_SERIAL_MULTI from serial drivers" (sha1: a3827250) Because the driver defines serial_* functions which cause conflict with serial.c (multiple definition of serial_*) Removing CONFIG_SERIAL_MULTI function also require to define default_serial_console for cases where another serial driver is not available in the system. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Jagan Teki authored
Add support for Numonyx N25Q064 SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Alexey Brodkin authored
drivers/block/systemace - fixed data type in "systemace_read" to match prototype in "block_dev_desc_t" Currently we have "unsigned long blkcnt" which is fine with CONFIG_SYS_64BIT_LBA undefined because "lbaint_t" is basically the same "unsigned long". If CONFIG_SYS_64BIT_LBA gets defined "lbaint_t" is defined as "unsigned long long". Even though not many embedded systems have CONFIG_SYS_64BIT_LBA defined it's good to have types in function implementation that match exactly with prototypes. Signed-off-by:
Alexey Brodkin <alexey.brodkin@gmail.com>
-
Simon Glass authored
This is used by both powerpc and arm, but I think it still qualifies as architecture-specific. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move ips_clk and csb_clk into arch_global_data and tidy up. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move ipb_clk and pci_clk into arch_global_data and tidy up. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move the quantative easing fields into arch_global_data and tidy up. Signed-off-by:
Simon Glass <sjg@chromium.org>
-