summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-03da8xx/omap-l1: modifications for Logic PD Rev.3 AM18xx EVM2009.11-omapl138-201011030745Sudhakar Rajashekhara
AHCLKR/UART1_RTS/GP0[11] pin needs to be configured for MMC and NOR to work on Rev.3 EVM. When GP0[11] is low, the SD0 interface will not work, but NOR flash will. When GP0[11] is high, SD0 will work but NOR flash will not. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-09-25da850/omapl138: Correct "mmc rescan" implementationSudhakar Rajashekhara
Earlier "mmc rescan" command from U-Boot prompt would always return ZERO, hence it was not possible to use this command to know whether the MMC/SD card is present in the slot or not. This patch corrects this issue. In the process, modify the bootargs to include a check to find whether the MMC/SD card is present or not. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-09-23da850/omap-l138: Modify the bootargs and bootcmd to boot from MMC/SPI.Sudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-09-21Environment in MMCAlagu Sankar
Support for Environment Variables to be stored in SD/MMC cards. This can be enabled by CONFIG_ENV_IS_IN_MMC option. Signed-off-by: Alagu Sankar <alagusankar@embwise.com>
2010-09-21Multiblock Support for MMCAlagu Sankar
Added Multi-Block Read support for MMC. Modified existing multi-block write to limit the maximum number of blocks per transfer. This feature is enabled with CONFIG_MMC_MBLOCK option. A new member is added in the mmc structure for the host controllers to specify the maximum number of blocks it supports. If the feature is disabled all read/write transfers are single-block. Signed-off-by: Alagu Sankar <alagusankar@embwise.com>
2010-09-21Davinci MMCSD SupportAlagu Sankar
Added support for MMC/SD cards for Davinci. This feature is enabled by CONFIG_DAVINCI_MMC and is dependant on CONFIG_MMC and CONFIG_GENERIC_MMC options. This is tested on DA850 EVM. Signed-off-by: Alagu Sankar <alagusankar@embwise.com>
2010-02-26da8xx: Modify the MEMTEST start and end addressSudhakar Rajashekhara
Also, modify the size for which mtest is run. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-02-24da8xx/omap-l1xx: Modify default bootargs and bootcmdSudhakar Rajashekhara
Starting from kernel 2.6.24 'rootwait' can be used to wait for the rootdevice to become ready, this is preferred over choosing a random delay. In the case of da8xx/omap-l1xx the delay is dependant on the MMC card present and can take more than 10 seconds in some cases. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
2010-02-09da8xx: Add aliases for compiling da850 and da830Sudhakar Rajashekhara
Add aliases to compile for da850 and da850 EVMs in-line with the earlier PSP release. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-02-09da8xx: Modify the U-Boot prompt stringSudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-02-09da8xx: Decrease CONFIG_SF_DEFAULT_SPEED to 30MHzSudhakar Rajashekhara
With the introduction of 456MHz part, SPI operating frequency will increase and at this frequency SPI does not work correctly. Hence reduce the default SPI speed to 30MHz from 50MHz. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-28Enable USB in DA850 defconfig.Ajay Kumar Gupta
2010-01-28DA830: Add usb configAjay Kumar Gupta
Adding USB configuration. Default is set for USB MSC host. Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com>
2010-01-28DA8xx: Add MUSB host supportAjay Kumar Gupta
Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com>
2010-01-28DA8xx: Add GPIO register definitionsAjay Kumar Gupta
Added DA8xx GPIO base addresses in gpio_defs.h and pointers to different BANKs which can be used to program GPIOs. Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com>
2010-01-28DA830: Add pinmux for USB0_DRVVBUSAjay Kumar Gupta
USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Swaminathan S <swami.iyer@ti.com>
2010-01-21da830: Modify bootargs and bootcmd for da830/omap-l137.Sudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-21From: Sekhar Nori <nsekhar@ti.com>Sudhakar Rajashekhara
u-boot: da850/omap-l138: include provision to wake up DSP. DSP is woken-up by default on DA850/OMAP-L138. To prevent DSP from being woken up, set the environment variable dspwake to no. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-21da850: Add RMII support for EMACSudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-20da850: Add support for NOR boot modeSudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-20da850: Add support for NAND boot modeSudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-20da850: Add support for da850Sudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-19da8xx: Add support for multiple PLL controllersSudhakar Rajashekhara
In the process, modify the clk_get() code to work for multiple PLL controllers. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-19da8xx: Add cpu_is_da8xx macrosSudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-19da8xx: Prepare for da850Sudhakar Rajashekhara
Since da850 is similar to da830 in many aspects, keep da850 specific files under da830 folder and rename the da830 folder to da8xx. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-15da830: Print ARM frequency informationSudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-15da830: Add support for NAND boot modeSudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-15da830: Make i2c and emac workSudhakar Rajashekhara
Existing EMAC driver does not work for both the PHYs, hence use the old EMAC driver. Also I2C was not working becasue of wrong pinmux configuration. This patch corrects it. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-15da830: Enable SPI in configuration fileSudhakar Rajashekhara
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-15The EMAC IP on DM365, DM646x and DA830 is slightly differentNick Thompson
from that on DM644x. This change updates the DaVinci EMAC driver so that EMAC becomes operational on SOCs with EMAC v2. Signed-off-by: Nick Thompson <nick.thompson@ge.com>
2010-01-14TI DaVinci: Driver for the davinci SPI controllerSekhar Nori
This adds a driver for the SPI controller found on davinci based SoCs from Texas Instruments. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2010-01-14Davinci: davinci_nand.c performance enhancmentsNick Thompson
Davinci: davinci_nand.c performance enhancments Introduces various optimisations that approximately triple the read data rate from NAND when run on da830evm. Most of these optimisations depend on the endianess of the machine and most of them are very similar to optimisations already present in the Linux Kernel. Signed-off-by: Nick Thompson <nick.thompson@ge.com>
2010-01-14Davinci: NAND enable ECC even when not in NAND boot modeNick Thompson
Davinci: NAND enable ECC even when not in NAND boot mode Davinci: NAND enable ECC even when not in NAND boot mode On Davinci platforms, the default NAND device is enabled (for ECC) in low level boot code when NAND boot mode is used. If booting in another mode, NAND ECC is not enabled. The driver should make sure ECC is enabled regardless of boot mode if NAND is configured in U-Boot. Signed-off-by: Nick Thompson <nick.thompson@ge.com>
2010-01-14Davinci: Configurable NAND chip selectsNick Thompson
Davinci: Configurable NAND chip selects Davinci: Configurable NAND chip selects Add a CONFIG_SYS_NAND_CS setting to all davinci configs and use it to setup the NAND controller in the davinci_nand mtd driver. Signed-off-by: Nick Thompson <nick.thompson@gefanuc.com>
2010-01-14Davinci: Table driven pinmux configurationNick Thompson
Davinci: Table driven pinmux configuration Davinci: Table driven pinmux configuration Add code to allow pinmux_config tables to be grouped and configured as a single resource. This removes multiple calls to the pinmux configuration code from board_init and allows pinmuxes to be individually configured and added by data manipulation only. All related #ifdefs can the be removed from board_init code and since the compiler optimises away statics, #ifdefs can be reduced in the data definitions as well. Signed-off-by: Nick Thompson <nick.thompson@gefanuc.com>
2009-12-15Merge branch 'next' of ../nextWolfgang Denk
2009-12-15Update CHANGELOG; prepare Prepare v2009.11v2009.11Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-12-15mpc85xx, mpc86xx: Fix gd->cpu pointer after relocationPeter Tyser
The gd->cpu pointer is set to an address located in flash when the probecpu() function is called while U-Boot is executing from flash. This pointer needs to be updated to point to an address in RAM after relocation has occurred otherwise Linux may not be able to boot due to "fdt board" crashing if flash has been erased or changed. This bug was introduced in commit a0e2066f392782730f0398095e583c87812d97f2. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Reported-by: Ed Swarthout <Ed.Swarthout@freescale.com> Tested-by: Kumar Gala <galak@kernel.crashing.org> Tested on MPC8527DS. Tested by: Ed Swarthout <Ed.Swarthout@freescale.com>
2009-12-14MVBLUE: Remove CONFIG_CMD_IRQPeter Tyser
Neither the MVBLUE nor its underlying architecture implement the do_irqinfo() function which is required when CONFIG_CMD_IRQ is defined. This change fixes the following MVBLUE compiler error: -> ./MAKEALL MVBLUE Configuring for MVBLUE board... common/libcommon.a(cmd_irq.o):(.u_boot_cmd+0x24): undefined reference to `do_irqinfo' make: *** [u-boot] Error 1 Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Acked-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
2009-12-14imx27lite: Reenable MTD support on NOR flash.Detlev Zundel
The support for this was silently dropped by a configuration split during the merge of the imx27lite board support in commit 864aa034f3a0e10ce710e8bbda171df3cab59414 (cmd_mtdparts: Move to common handling of FLASH devices via MTD layer). Signed-off-by: Detlev Zundel <dzu@denx.de>
2009-12-11nand: Fix access to last block in NAND devicesStefan Roese
Currently, the last block of NAND devices can't be accessed. This patch fixes this issue by correcting the boundary checking (off-by-one error). Signed-off-by: Stefan Roese <sr@denx.de> Cc: Scott Wood <scottwood@freescale.com> Cc: Wolfgang Denk <wd@denx.de>
2009-12-09mpc83xx: boot time regression, move LCRR setup back to cpu_init_fPeter Korsgaard
Commit c7190f02 (retain POR values of non-configured ACR, SPCR, SCCR, and LCRR bitfields) moved the LCRR assignment to after relocation to RAM because of the potential problem with changing the local bus clock while executing from flash. This change unfortunately adversely affects the boot time, as running all code up to cpu_init_r can cause significant slowdown. E.G. on a 8347 board a bootup time increase of ~600ms has been observed: 0.020 CPU: e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz 0.168 RS: 232 0.172 I2C: ready 0.176 DRAM: 64 MB 1.236 FLASH: 32 MB Versus: 0.016 CPU: e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz 0.092 RS: 232 0.092 I2C: ready 0.096 DRAM: 64 MB 0.644 FLASH: 32 MB So far no boards have needed the late LCRR setup, so simply revert it for now - If it is needed at a later time, those boards can either do their own final LCRR setup in board code (E.G. in board_early_init_r), or we can introduce a CONFIG_SYS_LCRR_LATE config option to only do the setup in cpu_init_r. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2009-12-08common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOULHeiko Schocher
There is more and more usage of printing 64bit values, so enable this feature generally, and delete the CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL defines. Signed-off-by: Heiko Schocher <hs@denx.de>
2009-12-085xxx, fdt: move fdt_fixup_memory() to cpu.c fileHeiko Schocher
u-boot updates, before starting Linux, the memory node in the DTS. As this is a "standard" feature, move this functionality to the cpu.c file for mpc5xxx and mpc512x processors. Signed-off-by: Heiko Schocher <hs@denx.de>
2009-12-08microblaze: Correct ffs regression for MicroblazeMichal Simek
We are using generic implementation of ffs. This should be part of Simon's commit 0413cfecea350000eab5e591a0965c3e3ee0ff00 Here is warning message which this patch removes. In file included from /tmp/u-boot-microblaze/include/common.h:38, from cmd_mtdparts.c:87: /tmp/u-boot-microblaze/include/linux/bitops.h:123:1: warning: "ffs" redefined In file included from /tmp/u-boot-microblaze/include/linux/bitops.h:110, from /tmp/u-boot-microblaze/include/common.h:38, from cmd_mtdparts.c:87: /tmp/u-boot-microblaze/include/asm/bitops.h:269:1: warning: this is the location of the previous definition Signed-off-by: Michal Simek <monstr@monstr.eu>
2009-12-08microblaze: Stop stack clobbering in microblaze-generic.Graeme Smecher
A typo caused the stack and malloc regions to overlap, which prevented mem_malloc_init() from returning. This commit makes the memory layout match the example described in include/configs/microblaze-generic.h Signed-off-by: Graeme Smecher <graeme.smecher@mail.mcgill.ca> Signed-off-by: Michal Simek <monstr@monstr.eu>
2009-12-07Merge branch 'master' of ../work into nextWolfgang Denk
2009-12-07Update CHANGELOG, prepare -rc2v2009.11-rc2Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-12-07MAKEALL: Fix return valuePeter Tyser
Previously MAKEALL would always return a value of 0, even if 1 or more boards did not compile. This change causes MAKEALL to return 0 if all boards were able to build, otherwise 1. This change also requires changing the script interpreter from sh to bash to support bash's PIPESTATUS variable. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-12-07tools/mkimage: Remove duplicate line of codePeter Tyser
Recent commits 1a99de2cb4d08eb3bf9fb3f60a9d533150de8c0e and 6a590c5f5fd12cdd27f3153522acfac3854590e7 both fixed the same bug in the same manner. Unfortunately git was "smart" enough to merge both changes which resulted in some duplicate code. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Reordered code and comment a bit. Signed-off-by: Wolfgang Denk <wd@denx.de>