- Mar 25, 2013
-
-
Allen Martin authored
Add nodes for t114 SPI controller hardware Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Allen Martin authored
Add node for apbdma controller hardware. Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Allen Martin authored
Add "nvidia,tegra114-spi" to represent t114 SPI controller hardware. Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Allen Martin authored
Add support for Winbond W25Q32DW 32Mbit part Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Allen Martin authored
Add a common interface to fdt based SPI drivers. Each driver is represented by a table entry in fdt_spi_drivers[]. If there are multiple SPI drivers in the table, the first driver to return success from spi_init() will be registered as the SPI driver. Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Allen Martin authored
Make the tegra20 SPI driver similar to the tegra30 (and soon to be tegra114) SPI drivers in preparation of common fdt SPI driver front end. Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Allen Martin authored
Move register structs from headers into .c files and use common name. This is in preparation of making common fdt front end for SPI drivers. Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Allen Martin authored
Remove non fdt support from tegra20 and tegra30 SPI drivers in preparation of new common fdt based SPI driver front end. Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Allen Martin authored
Rename tegra SPI drivers to tegra20_flash and tegra20_slink in preparation for commonization and addition of tegra114_spi. Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Allen Martin authored
This feature was only used for tegra20 seaboard that had a pinmux conflict on the SPI pins. These boards were never manufactured, so remove this support to clean up SPI driver. Signed-off-by:
Allen Martin <amartin@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
- Mar 24, 2013
-
-
Albert ARIBAUD authored
-
Peter Korsgaard authored
Gets rid of warnings from omap_gpio: ERROR : check_gpio: invalid GPIO -1 (and undefined behaviour as the -1 error code is interpreted as gpio value) Signed-off-by:
Peter Korsgaard <peter.korsgaard@barco.com>
-
Peter Korsgaard authored
Let mmc_getcd() return true and mmc_getwp() false if mmc driver doesn't provide handlers for them. Signed-off-by:
Peter Korsgaard <peter.korsgaard@barco.com> [trini: Add braces around first if test in each case to fix warning] Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
All of these platforms have memory starting at 0x80000000, so this is the correct CONFIG_STANDALONE_LOAD_ADDR for all of them. Acked-by:
Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Tested-by:
Rao Bodapati <rao@circuitco.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
Add TI814X EVM board directory, config file, and MAINTAINERS entry. Enable build. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com> [trini: Adapt to recent omap_hsmmc requirements, Matt re-tested] Signed-off-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
TI814X requires the same quirks as AM33XX to be enabled. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
TI814x has a 192MHz hsmmc reference clock. Select that clock rate when building for TI814x. Signed-off-by:
Matt Porter <mporter@ti.com>
-
Matt Porter authored
Adds a config_dmm() routine to support TI814X DMM configuration. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
Support the ti814x specific register definitions within arch-am33xx. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
AM33XX and TI814X have a similar mux though the pinmux register layout and address space differ. Add a separate ti814x mux include to support the TI814X-specific differences. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com> Acked-by:
Peter Korsgaard <jacmet@sunsite.dk>
-
Matt Porter authored
Split clock.c for am335x and ti814x and add ti814x specific clock support. Signed-off-by:
Matt Porter <mporter@ti.com>
-
Matt Porter authored
The AM33xx emif4/ddr support closely matches what is need to support TI814x except that TI814x has two EMIF instances. Refactor all the emif4 helper calls and the config_ddr() init function to use an additional instance number argument. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
Eliminate AM33xx specific names to prepare for TI814x support within AM33xx-land. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
- In arch/arm/cpu/armv7/omap-common/timer.c, drivers/mtd/nand/omap_gpmc.c and drivers/net/cpsw.c add #include files that the driver needs but had been relying on <config.h> to bring in. - In arch/arm/cpu/armv7/omap-common/lowlevel_init.S add <config.h> - In am335x_evm.h and pcm051.h don't globally include <asm/arch/hardware.h> and <asm/arch/cpu.h> but just <asm/arch/omap.h> as that is the only include which defines things the config uses. Cc: Lars Poeschel <poeschel@lemonage.de> Signed-off-by:
Tom Rini <trini@ti.com>
-
Enric Balletbo i Serra authored
With v3.9 and later of the Linux Kernel defaulting to multi-platform images with omap2plus_defconfig, uImage isn't builtable anymore by default. Add CONFIG_CMD_BOOTZ so that we can still boot something the kernel spits out. Signed-off-by:
Enric Balletbo i Serra <eballetbo@iseebcn.com> Reviewed-by:
Javier Martinez Canillas <javier@dowhile0.org>
-
Enric Balletbo i Serra authored
Just fix a typo displaying the CPU info. With CONFIG_DISPLAY_INFO we see something like AMAM335X-GP rev 0 instead of AM335X-GP rev 0. Signed-off-by:
Enric Balletbo i Serra <eballetbo@iseebcn.com> Reviewed-by:
Javier Martinez Canillas <javier@dowhile0.org>
-
Vaibhav Hiremath authored
Enable DDR PHY dynamic power down bit, which enables powering down the IO receiver when not performing read. This also helps in reducing overall power consumption in low power states (suspend/standby). Signed-off-by:
Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by:
Satyanarayana, Sandhya <sandhya.satyanarayana@ti.com> Cc: Tom Rini <trini@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
- Mar 22, 2013
-
-
Stephen Warren authored
Tegra20 requires the workaround for this erratum. Enable it. Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Stephen Warren authored
Add common code to enable the workaround for ARM erratum 716044. This will be enabled for Tegra. Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Steve Kipisz authored
The original write to sdram_config is correct for DDR3 but incorrect for DDR2 so SPL was hanging. For DDR2, the write to sdram_config should be after the writes to ref_ctrl. This was working for DDR3 because there was a write of 0x2800 to ref_ctrl before a write to sdram_config. Tested on: GP EVM 1.1A (DDR2), GP EVM 1.5A (DDR3), Beaglebone A6 (DDR2), Beagleone Blacd A4A (DDR3) Signed-off-by:
Steve Kipisz <s-kipisz2@ti.com>
-
Koen Kooi authored
Make bootcmd run findfdt so that we know what dtb file to load. Add a loadfdt command to load this file in. Make mmcboot pass in ${fdtaddr} and make the mmc section of bootcmd run loadfdt. Signed-off-by:
Koen Kooi <koen@dominion.thruhere.net> Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Peter Korsgaard <jacmet@sunsite.dk>
-
Koen Kooi authored
The kernel is loaded from some form of ext[234] or FAT, depending on the distribution used. We add a bootpart variable to the environment so that we can load from the correct mmc partition as well. We leave CONFIG_CMD_EXT2 for existing scripts that use ext2load. Signed-off-by:
Koen Kooi <koen@dominion.thruhere.net> Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Peter Korsgaard <jacmet@sunsite.dk>
-
Koen Kooi authored
Cc: Matt Porter <mporter@ti.com> Cc: Nishanth Menon <nm@ti.com> Signed-off-by:
Koen Kooi <koen@dominion.thruhere.net> Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Matt Porter <mporter@ti.com> Acked-by:
Peter Korsgaard <jacmet@sunsite.dk> Acked-by:
Nishanth Menon <nm@ti.com>
-
Mark Jackson authored
Currently WAIT0 irq is reset and then WAIT1 irq is enabled. Fix it such that WAIT0 irq is enabled instead. Signed-off-by:
Mark Jackson <mpfj@newflow.co.uk> Acked-by:
Peter Korsgaard <jacmet@sunsite.dk>
-
Mark Jackson authored
Allow AM335x MPU core clock speed to be specified in the board config file. To use, add the following to the board's config file:- #define CONFIG_SYS_MPUCLK <desired clock freq in MHz> Signed-off-by:
Mark Jackson <mpfj@newflow.co.uk> Acked-by:
Peter Korsgaard <jacmet@sunsite.dk>
-
Nikita Kiryanov authored
Add support for loading splash image from NAND Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il>
-
- Mar 20, 2013
-
-
Stephen Warren authored
Enable the SD controller driver for the Raspberry Pi. Enable a number of useful MMC, partition, and filesystem-related commands. Set up the environment to provide standard locations for loading a kernel, DTB, etc. Provide a boot command that loads and executes boot.scr.uimg from the SD card; this is written considering future extensibilty to USB storage. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Stephen Warren authored
This adds a simple driver for the BCM2835's SD controller. Workarounds are implemented for: * Register writes can't be too close to each-other in time, or they will be lost. * Register accesses must all be 32-bit, so implement custom accessors. This code was extracted from: git://github.com/gonzoua/u-boot-pi.git master which was created by Oleksandr Tymoshenko. Portions of the code there were obviously based on the Linux kernel at: git://github.com/raspberrypi/linux.git rpi-3.6.y commit f5b930b "Main bcm2708 linux port" signed-off-by Dom Cobley. swarren changed the following for upstream: * Removed hack udelay()s in bcm2835_sdhci_raw_writel(); setting SDHCI_QUIRK_WAIT_SEND_CMD appears to solve the issues. * Remove register logging from read*/write* functions. * Sort out confusion with min/max_freq values passed to add_sdhci(). * Use more descriptive variable names and calculations in IO accessors. * Simplified and commented twoticks_delay calculation. * checkpatch fixes. Cc: Andy Fleming <afleming@gmail.com> Signed-off-by:
Oleksandr Tymoshenko <gonzo@bluezbox.com> Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Acked-by:
Andy Fleming <afleming@gmail.com>
-
Stephen Warren authored
The firmware running on the bcm2835 SoC's VideoCore CPU manages the display controller. Add a simple "LCD" driver that communicates with the firmware using the property mailbox protocol. This configures the display and frame-buffer to match whatever physical resolution the firmware chosen when booting, which is typically the native resolution of the attached display device, presumably unless otherwise specified in config.txt on the boot media. Enable this driver in the Raspberry Pi board configuration. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Acked-by:
Anatolij Gustschin <agust@denx.de>
-