summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-07AM335X: Set fdt_high for AM335X devices to enable booting with Device Tree[email protected]
For AM335X boards, such as the EVM and Bone Linux kernel fails to locate the device tree blob on boot. The reason being is that u-boot is copying the DT blob to the upper part of RAM when booting the kernel and the kernel is unable to access the blob. By setting the fdt_high variable to 0xffffffff (to prevent the copy) the kernel is able to locate the DT blob and boot. This patch is tested on BeagleBone platform. Signed-off-by: Vaibhav Hiremath <[email protected]> Cc: Tom Rini <[email protected]>
2013-02-07Add DDR3 support for AM335x-EVM (Version 1.5A)Jeff Lance
AM335x EVM 1.5A uses Micron MT41J512M8RH-125 SDRAM 4Gb (512Mx8) as the DDR3 chip. [Hebbar Gururaja <[email protected]>] - Resolve merge conflict while rebasing. File structure is changed in the mainline. So re-arrange the code accordingly. - Update commit message to reflect the DDR3 part number Signed-off-by: Jeff Lance <[email protected]> Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Hebbar Gururaja <[email protected]>
2013-02-07am335x: display msg when reading MAC from efuseLars Poeschel
When ethaddr is not set in environment the MAC address is read from efuse. The message was only printed in debug case, but this message could be of interest for the ordinary user, so printf it. Signed-off-by: Lars Poeschel <[email protected]>
2013-02-07pcm051: Add support for Phytec phyCORE-AM335xLars Poeschel
The board is named pcm051 and has this hardware: SOC: TI AM3359 DDR3-RAM: 2x MT41J256M8HX-15EIT:D 512MiB ETH 1: LAN8710AI SPI-Flash: W25Q64BVSSIG RTC: RV-4162-C7 I2C-EEPROM: CAT32WC32 NAND: MT29F4G08_VFPGA63 PMIC: TPS65910A3 LCD Supported: UART 1 MMC/SD ETH 1 USB I2C SPI Not yet supported: NAND RTC LCD Signed-off-by: Lars Poeschel <[email protected]> [trini: Add #define CONFIG_PHY_ADDR 0 to config] Signed-off-by: Tom Rini <[email protected]>
2013-02-07am33xx: add a pulldown macro to pinmux configLars Poeschel
Signed-off-by: Lars Poeschel <[email protected]>
2013-02-07omap4: allow the use of a plain text env file instead boot scriptsJavier Martinez Canillas
For production systems it is better to use script images since they are protected by checksums and carry valuable information like name and timestamp. Also, you can't validate the content passed to env import. But for development, it is easier to use the env import command and plain text files instead of script-images. Since both OMAP4 supported boards (Panda and TI SDP4430) are used primarily for development, this patch allows U-Boot to load env var from a text file in case that an boot.scr script-image is not present. The variable uenvcmd (if existent) will be executed (using run) after uEnv.txt was loaded. If uenvcmd doesn't exist the default boot sequence will be started. Signed-off-by: Javier Martinez Canillas <[email protected]> Acked-by: Nishanth Menon <[email protected]>
2013-02-07OMAP3: igep00x0: add boot status GPIO LEDJavier Martinez Canillas
This patch adds an GPIO LED boot status for IGEP boards. The GPIO LED used is the red LED0 while the Linux kernel uses the green LED0 as the boot status. By using different GPIO LEDs, the user can know in which step of the boot process the board currently is. Signed-off-by: Javier Martinez Canillas <[email protected]> Acked-by: Igor Grinberg <[email protected]>
2013-02-07OMAP3: use a single board file for IGEP devicesJavier Martinez Canillas
Even when the IGEPv2 board and the IGEP Computer-on-Module are different from a form factor point of view, they are very similar in the fact that share many components and how they are wired. So, it is possible (and better) to have a single board file for both devices and just use the CONFIG_MACH_TYPE to make a differentiation between each board when needed. This change avoids code duplication by removing 298 lines of code and makes future maintenance easier. Signed-off-by: Javier Martinez Canillas <[email protected]> Acked-by: Igor Grinberg <[email protected]>
2013-02-03ARM: highbank: use wfi macro instead of inline asmRob Herring
Older compilers don't recognize v7 wfi instruction, so use wfi macro to fix builds on old compilers. Signed-off-by: Rob Herring <[email protected]>
2013-02-03ARM: add wfi assembly macroRob Herring
Since wfi instruction is only available on ARMv7, add a conditional macro for it. Signed-off-by: Rob Herring <[email protected]>
2013-02-02arm: rmobile: kzm9g: Adjust ETM trace clockTetsuyuki Kobayashi
Set ETM TRCLK down to 78MHz to get clear wave form. This patch makes difference only when you use ETM trace connecting JTAG debugger. Signed-off-by: Tetsuyuki Kobayashi <[email protected]> Acked-by: Nobuhiro Iwamatsu <[email protected]>
2013-02-02arm: rmobile: kzm9g: Adjust SDRAM settingTetsuyuki Kobayashi
After stress test, I found some of kzm9g board occures memory failure. This patch adust SDRAM setting. - Enlarge drivability on both SDRAM controller and SDRAM itself - Raise core voltage Signed-off-by: Tetsuyuki Kobayashi <[email protected]> Acked-by: Nobuhiro Iwamatsu <[email protected]>
2013-02-02Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'Albert ARIBAUD
2013-01-28mx23evk: Add initial board supportOtavio Salvador
The following features are supported: * 128 MB DDR1 SDRAM * DUART * SD/MMC Card Socket Signed-off-by: Otavio Salvador <[email protected]> Tested-by: Fabio Estevam <[email protected]>
2013-01-28mx23_olinuxino: Add default environmentOtavio Salvador
This adds a default environment with support for MMC booting. Signed-off-by: Otavio Salvador <[email protected]>
2013-01-28mxs: mmc: mx23_olinuxino: Add MMC supportMarek Vasut
Add support for the MMC attached to SSP1. Signed-off-by: Marek Vasut <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-28mxs: mmc: Fix the MMC driver for MX23Marek Vasut
The MX23 has different layout of DMA channels. Fix the MMC driver to support MX23. Signed-off-by: Marek Vasut <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-28mxs: mmc: Allow overriding default card detect implementationMarek Vasut
Some MXS based boards do not implement the card-detect signal. Allow user to specify alternate card-detect implementation. Signed-off-by: Marek Vasut <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-28mxs: mmc: Fix MMC reset on iMX23Otavio Salvador
This does the same reset mask as done in v3.7 Linux kernel code. The block is properly configured for MMC operation that way. Signed-off-by: Otavio Salvador <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-28mxs: ssp: Add SSP registers map for MX23Marek Vasut
The MX23 SSP register layout differs from MX28 in certain bits, adjust the register layout accordingly. Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-28mxs: dma: Fix APBH DMA driver for MX23Marek Vasut
The MX23 has less channels for the APBH DMA, sligtly different register layout and some bits in those registers are placed differently. Reflect this in the driver. This patch fixes MMC/DMA issue on MX23. Signed-off-by: Marek Vasut <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-28mx6qsabrelite: search mii phy address 4-7Troy Kisky
Signed-off-by: Troy Kisky <[email protected]>
2013-01-28net: fec_mxc: get phydev before fec_probeTroy Kisky
Signed-off-by: Troy Kisky <[email protected]>
2013-01-28net: fec_mxc: only call phy_connect in fec_probeTroy Kisky
This allows us to create the phydev before calling fec_probe in later patch. Signed-off-by: Troy Kisky <[email protected]>
2013-01-28net: fec_mxc: use fec_set_dev_name to set nameTroy Kisky
This allows us to create the phydev before calling fec_probe in later patch. Signed-off-by: Troy Kisky <[email protected]>
2013-01-28phy: add phy_find_by_mask/phy_connect_devTroy Kisky
It is useful to be able to try a range of possible phy addresses to connect. Also, an ethernet device is not required to use phy_find_by_mask leading to better separation of mii vs ethernet, as suggested by Andy Fleming. Signed-off-by: Troy Kisky <[email protected]>
2013-01-28net: fec_mxc: have fecmxc_initialize call fecmxc_initialize_multiTroy Kisky
Having only one call to fec_probe will ease the changing of its parameters. Signed-off-by: Troy Kisky <[email protected]>
2013-01-28net: fec_mxc: change fec_mii_setspeed parameterTroy Kisky
Only the hardware ethernet registers are needed for this function, so don't pass the more general structure. I'm trying to separate MII and fec. This also fixes MX28 fec_mii_setspeed use on secondary ethernet port This was found by inspection of the code and should be checked on real hardware. Signed-off-by: Troy Kisky <[email protected]>
2013-01-28net: fec_mxc: delete CONFIG_FEC_MXC_MULTITroy Kisky
It is more logical to test for CONFIG_FEC_MXC_PHYADDR to determine whether to define the function fecmxc_initialize. Signed-off-by: Troy Kisky <[email protected]>
2013-01-28doc/README.fec_mxc: add documentationTroy Kisky
Signed-off-by: Troy Kisky <[email protected]>
2013-01-28mxs: Use __weak annotation to simplify codeFabio Estevam
Using the __weak annotation can make the code cleaner. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Marek Vasut <[email protected]>
2013-01-28tools: imximage: Let .name field be more genericFabio Estevam
Since this structure is not i.MX5x specific, remove the '5x' to make it more generic. Signed-off-by: Fabio Estevam <[email protected]>
2013-01-28mx6qsabre_common: Let mmc partition be board specificFabio Estevam
commit 49ea0ff5 (49ea0ff5) introduced CONFIG_SYS_MMC_ENV_PART into mx6qsabresd.h to store the mmc partition, but in order for it to have effect we should place it into 'mmcpart' variable. Also add CONFIG_SYS_MMC_ENV_PART into mx6qsabreauto.h. Signed-off-by: Fabio Estevam <[email protected]>
2013-01-28mx6qsabreauto: enable USB host interfaceKnut Wohlrab
The USB host interface is routed to plug USB1/J30 on the mother board. Signed-off-by: Knut Wohlrab <[email protected]>
2013-01-28mxs: Boost the memory power supplyMarek Vasut
The memory power supply on MX23 didn't pump out enough juice into the DRAM chip, thus caused occasional memory corruption. Fix this. Signed-off-by: Marek Vasut <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]> Acked-by: Otavio Salvador <[email protected]>
2013-01-22imximage.cfg: run files through C preprocessorTroy Kisky
The '#' used as comments in the files cause the preprocessor trouble, so change to /* */. The mkimage command which uses this preprocessor output was moved to arch/arm/imx-common/Makefile .gitignore was updated to ignore .cfgtmp files. Signed-off-by: Troy Kisky <[email protected]>
2013-01-21mxs: Add MX23 quirks into the clock codeOtavio Salvador
The MX23 has different handling of the SSP clock and GPMI NAND clock sources, add necessary quirks into the clock code to properly handle these. Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21woodburn: Set Write Protection GPIO as inputFabio Estevam
Set Write Protection GPIO as input. Signed-off-by: Fabio Estevam <[email protected]>
2013-01-21mxs: Add MX23 olinuxino board supportMarek Vasut
This patch adds support for MX23-based Olinuxino board. Signed-off-by: Marek Vasut <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mxs: Linux uses ttyAMA0 as DUARTMarek Vasut
Replace use of ttyAM0 with ttyAMA0 as default serial console. Signed-off-by: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mxs: Fix the memory init for MX23Otavio Salvador
The memory init is slightly different on MX23, thus split the memory init for mx23 and mx28 into different functions. Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mxs: Add function to ungate the power block on MX23Marek Vasut
The power block on MX23 must first be ungated before it can be operated. Add function to MXS power init that ungates it. Signed-off-by: Marek Vasut <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mmc: Limit the number of used SSP ports on MX23Marek Vasut
The MX23 can only use two SSP ports. Signed-off-by: Marek Vasut <[email protected]> Cc: Andy Fleming <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mx23: config: Enable mxsboot tool for i.MX23 based boardsOtavio Salvador
Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mx23: config: Enable building of u-boot.sb binaryOtavio Salvador
For i.MX23 we need to pass imx23 as elftosb param. Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mx23: SPL: Initialize DDR at 133MHzOtavio Salvador
Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mx23: SPL: Add boot mode supportOtavio Salvador
This adds the boot mode support for i.MX23 processors. Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mx23: Add boot mode descriptionOtavio Salvador
Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mx23: Add support on print_cpuinfo()Otavio Salvador
Add information to identify i.MX23 chips and its known revisions. Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]>
2013-01-21mx23: ssp: Fix ssp-regs.h for MX23Marek Vasut
Disable SSP2 and SSP3 ports on MX23. Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Otavio Salvador <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Stefano Babic <[email protected]>