rowboat:dvachevs-dvachevs-u-boot.git
7 years agoTI81XX: NAND: Setting 1-bit Hamming code H/W ECC as default ECC scheme. master
Mansoor Ahamed [Thu, 16 Dec 2010 08:32:57 +0000 (14:02 +0530)]
TI81XX: NAND: Setting 1-bit Hamming code H/W ECC as default ECC scheme.

  - Now all partitions in the NAND will use 1-bit H/W ECC as default.
    This includes ENV, Kernel, Filesystem.
  - NAND partition which has the u-boot image will still use H/W BCH-8

Signed-off-by: Mansoor Ahamed <mansoor.ahamed@ti.com>
7 years agoti816x: WDT support
Vaibhav Bedia [Wed, 15 Dec 2010 15:01:18 +0000 (20:31 +0530)]
ti816x: WDT support

This patch adds *basic* WDT support for TI8168 EVM.
Currently the watchdog is just stopped and then unfrozen.

After this the kernel driver can use the watchdog normally.

Note: Proper use of WDT requires a board modification to be
done on the TI8168 EVM.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoTI81XX: NAND: Change oob layout to synch with kernel
Parth Mauria Saxena [Tue, 14 Dec 2010 12:55:47 +0000 (18:25 +0530)]
TI81XX: NAND: Change oob layout to synch with kernel

This patch changes the oob layout in uboot for 1 bit hamming code
and makes it in synch with the kernel

Signed-off-by: Parth Mauria Saxena <a0131646@psplinux052.india.ti.com>
7 years agoti814x: Add IVA PLL setup code
Vaibhav Bedia [Fri, 10 Dec 2010 06:15:57 +0000 (11:45 +0530)]
ti814x: Add IVA PLL setup code

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti814x: Add ISS PLL configuration
Hemant Pedanekar [Wed, 24 Nov 2010 11:10:36 +0000 (16:40 +0530)]
ti814x: Add ISS PLL configuration

Add ISS PLL configuration as required for Ducati MMU access.

Note that, at present, trim values are not configured.

Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
7 years agoti816x: Fix compiler warning
Vaibhav Bedia [Thu, 9 Dec 2010 14:28:34 +0000 (19:58 +0530)]
ti816x: Fix compiler warning

TBM with DDR3 support patch

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti814x: TBM with initial commit for ti814x
Vaibhav Bedia [Thu, 9 Dec 2010 12:20:41 +0000 (17:50 +0530)]
ti814x: TBM with initial commit for ti814x

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoTI8168: fix handling of ethernet mac address.
Sriramakrishnan [Wed, 8 Dec 2010 14:26:02 +0000 (19:56 +0530)]
TI8168: fix handling of ethernet mac address.

With this change, the init code will fetch mac address from
env space. If it returns empty, will look for MAC address from
Control register space(e-fuse).

If you are setting ethaddr using setenv/saveenv commands, the
new MAC address will take effect on subsequent reboot only.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTI EMAC driver : Add gigabit mode support
Sriramakrishnan [Wed, 8 Dec 2010 14:26:02 +0000 (19:56 +0530)]
TI EMAC driver : Add gigabit mode support

This patch adds support for gigabit mode of operation

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoOMAP:I2C: Fixed build error/warning
Vaibhav Hiremath [Tue, 30 Nov 2010 08:09:08 +0000 (13:39 +0530)]
OMAP:I2C: Fixed build error/warning

Following commit breaks the OMAP3 build,

Commit ID - 927057f10a01323abb4400a7ed356058b0c5d3b7
Subject - ti81xx: I2C support

7 years agoti8148: Skip pcie_pll config
Vaibhav Bedia [Tue, 7 Dec 2010 09:52:43 +0000 (15:22 +0530)]
ti8148: Skip pcie_pll config

Currently pcie pll configuration is not done from U-Boot

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: NOR boot support config option
Vaibhav Bedia [Tue, 7 Dec 2010 12:52:23 +0000 (18:22 +0530)]
ti816x: NOR boot support config option

Add NOR boot support config option to the Makefile

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti8148: Size reduction config options... revisit
Vaibhav Bedia [Tue, 7 Dec 2010 10:06:23 +0000 (15:36 +0530)]
ti8148: Size reduction config options... revisit

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti8148: Reorg of config options
Vaibhav Bedia [Tue, 7 Dec 2010 10:05:48 +0000 (15:35 +0530)]
ti8148: Reorg of config options

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti8148: Minor change in board file
Vaibhav Bedia [Tue, 7 Dec 2010 10:02:51 +0000 (15:32 +0530)]
ti8148: Minor change in board file

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti8168: Update config name for selecting ENV support
Vaibhav Bedia [Tue, 7 Dec 2010 09:25:30 +0000 (14:55 +0530)]
ti8168: Update config name for selecting ENV support

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti8148: Update config name for selecting ENV support
Vaibhav Bedia [Tue, 7 Dec 2010 09:24:16 +0000 (14:54 +0530)]
ti8148: Update config name for selecting ENV support

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti8148: Rename config names used in Makefile and config file
Vaibhav Bedia [Tue, 7 Dec 2010 09:20:35 +0000 (14:50 +0530)]
ti8148: Rename config names used in Makefile and config file

Rename the config names to easily differentiate between the config
options for an image

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti814x: SD support
Vaibhav Bedia [Fri, 26 Nov 2010 08:40:38 +0000 (14:10 +0530)]
ti814x: SD support

This patch adds SD support to ti814x. A two stage approach is adopted
for SD boot since the 1st stage size is limited to 110KB.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti814x: Config file clean-up
Vaibhav Bedia [Fri, 26 Nov 2010 08:38:46 +0000 (14:08 +0530)]
ti814x: Config file clean-up

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti814x: Makefile clean-up
Vaibhav Bedia [Fri, 26 Nov 2010 07:22:13 +0000 (12:52 +0530)]
ti814x: Makefile clean-up

Reorg of ti814x options in Makefile

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti814x: Diable cache for now
Vaibhav Bedia [Fri, 26 Nov 2010 07:07:01 +0000 (12:37 +0530)]
ti814x: Diable cache for now

Issues seen when cache is enabled and 2nd stage loaded from SD
Disabling cache for now

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Default build for DDR2 @ 400MHz I/O clock
Vaibhav Bedia [Thu, 11 Nov 2010 11:42:59 +0000 (17:12 +0530)]
ti816x: Default build for DDR2 @ 400MHz I/O clock

The default configuration will be for DDR2 with the
I/O clock @ 400MHz

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Support for DDR3 at different frequencies
Vaibhav Bedia [Wed, 29 Sep 2010 15:08:52 +0000 (20:38 +0530)]
ti816x: Support for DDR3 at different frequencies

- This patch adds support for DDR3 at different frequencies on PG1.1 samples
 - Supported frequencies for DDR3: 400, 531, 675 and 796 MHz
 - Currently software leveling approach is used for DDR3 init
 - The ROM code bug which causes SYSCLK10 to run at half the expected frequency
   is now fixed by changing the PRCM divider instead of DDRPLL_MDIV2
 - Code for changing the core voltage to 1V via GPIOs is also added in lowlevel init

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Support for boot script for setting ENV
Vaibhav Bedia [Wed, 13 Oct 2010 05:36:57 +0000 (11:06 +0530)]
ti816x: Support for boot script for setting ENV

This patch enables support for executing a script stored in MMC/SD card
to set ENV variables.This is necessary for systems which have no flash storage
and ENV needs to be set without rebuilding U-Boot binary with hardcoded values.

To generate the script named boot.scr create a file boot.txt with the normal
U-Boot commands for setting ENV. Eg: setenv bootcmd 'dhcp; tftp; bootm'

Then use mkimage utility (./u-boot/tools/mkimage) in the following manner:
mkimage -A arm -O linux -C none -name script -d boot.txt boot.scr

Copy this file to the FAT partition on the MMC/SD card and let the system boot.

Note: The script will be executed automatically in case there is no flash storage
or if nothing has been saved to the ENV section of the flash.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoSuppress CPUINFO printing in 1st stage of SD
Vaibhav Bedia [Wed, 6 Oct 2010 10:40:40 +0000 (16:10 +0530)]
Suppress CPUINFO printing in 1st stage of SD

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Change 2nd stage load address for SD boot
Vaibhav Bedia [Wed, 6 Oct 2010 09:56:53 +0000 (15:26 +0530)]
ti816x: Change 2nd stage load address for SD boot

In case of SD boot the 2nd stage will get transferred
to DDR_START + 8MB

Note, the first stage has a big bss section. So if the 2nd
stage is read close to the start of 1st stage, fatload
will hang.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Change TEXT_BASE
Vaibhav Bedia [Wed, 6 Oct 2010 09:50:52 +0000 (15:20 +0530)]
ti816x: Change TEXT_BASE

To avoid issues with larger kernel images change the TEXT_BASE
to leave a space of 7MB on top.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Add target which runs out of internal memory
Vaibhav Bedia [Sun, 3 Oct 2010 19:32:14 +0000 (01:02 +0530)]
ti816x: Add target which runs out of internal memory

Having a minimal build which runs out of internal memory
is useful in debugging DDR related issues of EVMs.

This patch adds a new target name "ti8168_evm_min_ocmc"
which serves this purpose.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Change the location of config.tmp inclusion
Vaibhav Bedia [Sun, 3 Oct 2010 19:29:07 +0000 (00:59 +0530)]
ti816x: Change the location of config.tmp inclusion

Including config.tmp at the end of config.mk helps
in over-riding variables/macros selectively

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti81xx: Suppress debug prints on console
Vaibhav Bedia [Sun, 3 Oct 2010 19:27:42 +0000 (00:57 +0530)]
ti81xx: Suppress debug prints on console

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti81xx: Add cpu type and rev detection logic
Vaibhav Bedia [Wed, 29 Sep 2010 11:50:26 +0000 (17:20 +0530)]
ti81xx: Add cpu type and rev detection logic

This patch adds the logic for cpu type and rev detection
for the ti81xx family

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Additional spacing in config file for readability
Vaibhav Bedia [Sat, 18 Sep 2010 13:36:21 +0000 (19:06 +0530)]
ti816x: Additional spacing in config file for readability

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Dual stage SD boot support
Vaibhav Bedia [Wed, 15 Sep 2010 11:32:16 +0000 (17:02 +0530)]
ti816x: Dual stage SD boot support

This patch makes the 2 stage SD boot the default option.
The target name to be used for generating the image for
the 1st stage is ti8168_evm_min_sd.

This file needs to copied to the SD card formatted as per
the instructions in the User Guide.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: SD Dual boot support
Swaminathan S [Mon, 6 Sep 2010 13:48:59 +0000 (19:18 +0530)]
ti816x: SD Dual boot support

Supports both single and dual staged SD boot options.

Signed-off-by: Swaminathan S <swami.iyer@ti.com>
7 years agohsmmc : This patch adds HSMMC support to TI816x platform
Swaminathan S [Fri, 3 Sep 2010 11:42:12 +0000 (17:12 +0530)]
hsmmc : This patch adds HSMMC support to TI816x platform

Signed-off-by: Swaminathan S <swami.iyer@ti.com>
7 years agoTI8148: fix handling of ethernet mac address.
Sriramakrishnan [Fri, 8 Oct 2010 09:58:38 +0000 (15:28 +0530)]
TI8148: fix handling of ethernet mac address.

With this change, the init code will fetch mac address from
env space. If it returns empty, will look for MAC address from
Control register space(e-fuse). Also, addresses incorrect mask
for one of the bytes read from Control module space.

If you are setting ethaddr using setenv/saveenv commands, the
new MAC address will take effect on subsequent reboot only.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTI8148 : Enable I-cache/D-cache for faster bootup
Sriramakrishnan [Wed, 6 Oct 2010 14:35:03 +0000 (20:05 +0530)]
TI8148 : Enable I-cache/D-cache for faster bootup

Enable cache for faster access time to speed up boot
process

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoCPSW : enable Gigabit operation and other driver cleanup
Sriramakrishnan [Wed, 6 Oct 2010 09:08:57 +0000 (14:38 +0530)]
CPSW : enable Gigabit operation and other driver cleanup

This patch
1.Enables Gigabit mode of operation
2.Purges the driver of un-necessary prints.
3.Read/configure MAC ID from Efuse
Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoti81xx: Add cpu type and rev detection logic
Vaibhav Bedia [Wed, 6 Oct 2010 01:48:17 +0000 (07:18 +0530)]
ti81xx: Add cpu type and rev detection logic

This patch adds the logic for cpu type and rev detection
for the ti81xx family

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti814x : cpsw : pinmux config
Madhvapathi Sriram [Fri, 24 Sep 2010 14:42:02 +0000 (20:12 +0530)]
ti814x : cpsw : pinmux config

- pinmux configuration for cpsw module to aid standalone boot
- Some minor status reporting corrections in cpsw phy init

Signed-off-by: Madhvapathi Sriram <sriram.m@ti.com>
7 years agoti8148: Moved env to the correct location
Mansoor Ahamed [Fri, 24 Sep 2010 04:57:14 +0000 (10:27 +0530)]
ti8148: Moved env to the correct location

Signed-off-by: Mansoor Ahamed <mansoor.ahamed@ti.com>
7 years agoti814x: Default bootdelay for second stage set to 3 seconds.
Mansoor Ahamed [Thu, 16 Sep 2010 12:54:17 +0000 (18:24 +0530)]
ti814x: Default bootdelay for second stage set to 3 seconds.

Signed-off-by: Mansoor Ahamed <mansoor.ahamed@ti.com>
7 years agoti8148 : Include ETH support in 2nd stage build
Madhvapathi Sriram [Thu, 16 Sep 2010 09:00:01 +0000 (14:30 +0530)]
ti8148 : Include ETH support in 2nd stage build

Signed-off-by: Madhvapathi Sriram <sriram.m@ti.com>
7 years agoti814x: SPI boot, 1st stage and 2nd stage verified on EVM. Enabled SPI in 1st and...
Mansoor Ahamed [Wed, 15 Sep 2010 22:29:18 +0000 (03:59 +0530)]
ti814x: SPI boot, 1st stage and 2nd stage verified on EVM. Enabled SPI in 1st and 2nd stage.

Signed-off-by: Mansoor Ahamed <mansoor.ahamed@ti.com>
7 years agocpsw : bringup patch
Madhvapathi Sriram [Tue, 14 Sep 2010 17:16:54 +0000 (22:46 +0530)]
cpsw : bringup patch

Signed-off-by: Madhvapathi Sriram <sriram.m@ti.com>
7 years agoti814x: Bringup patch
Vaibhav Bedia [Thu, 9 Sep 2010 10:01:39 +0000 (15:31 +0530)]
ti814x: Bringup patch

Add lowlevel init based on GEL file used for bringup.
Also, change the TEXT_BASE so that there is more space after the .text section

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agocpsw : add supprt for setting macaddr via env variable
Madhvapathi Sriram [Wed, 1 Sep 2010 08:52:04 +0000 (14:22 +0530)]
cpsw : add supprt for setting macaddr via env variable

Signed-off-by: Madhvapathi Sriram <sriram.m@ti.com>
7 years agomusb: ti814x: setup usb drvvbus mux
Ajay Kumar Gupta [Wed, 1 Sep 2010 06:50:04 +0000 (12:20 +0530)]
musb: ti814x: setup usb drvvbus mux

Updated pinmux for usb drvvbus.

PIN 14  -> USB1_DRVVBUS
PIN 270 -> USB0_DRVVBUS

Pull down has been enabled for them.

7 years agoti814x : cpsw : platform specific data and changes
Madhvapathi Sriram [Tue, 31 Aug 2010 06:22:41 +0000 (11:52 +0530)]
ti814x : cpsw : platform specific data and changes

- base address for CPSW
- cpsw platform data and phycontrol setup
- pll setup
- add CONFIG_DRIVER_TI_EMAC option

Signed-off-by: Madhvapathi Sriram <sriram.m@ti.com>
7 years agoethernet : modified clocking for ethernet (cpsw)
Madhvapathi Sriram [Tue, 31 Aug 2010 05:00:11 +0000 (10:30 +0530)]
ethernet : modified clocking for ethernet (cpsw)

- Corrected functional clock enabling
- Corrected sata/pcie serdes PLL config

Signed-off-by: Madhvapathi Sriram <sriram.m@ti.com>
7 years agoti814x: mmc: add mux for mmc1
Madhvapathi Sriram [Tue, 31 Aug 2010 04:24:40 +0000 (09:54 +0530)]
ti814x: mmc: add mux for mmc1

Added mux for the following pins :  power, wp and cd

Signed-off-by: Madhvapathi Sriram <sriram.m@ti.com>
7 years agoTI: netdev: add driver for cpsw ethernet device
Cyril Chemparathy [Sun, 8 Aug 2010 01:33:52 +0000 (01:33 +0000)]
TI: netdev: add driver for cpsw ethernet device

CPSW is an on-chip ethernet switch that is found on various SoCs from Texas
Instruments.  This patch adds a simple driver (based on the Linux driver) for
this hardware module.

Signed-off-by: Cyril Chemparathy <cyril <at> ti.com>
7 years agoti814x: Misc updates to board file
Vaibhav Bedia [Sun, 29 Aug 2010 08:00:33 +0000 (13:30 +0530)]
ti814x: Misc updates to board file

Merge with the initial support patch.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti8148: Add support for 2nd stage U-Boot
Vaibhav Bedia [Sun, 29 Aug 2010 07:57:05 +0000 (13:27 +0530)]
ti8148: Add support for 2nd stage U-Boot

The 2nd stage of U-Boot will be built from the same tree.
It will skip lowlevel initialization and will have support
for NAND, SPI, ethernet ,I2C.

TEXT_BASE for the two stages will be different, so pass that
from the Makefile based on the config name used.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti814x: Add support for clk and mux configuration
Vaibhav Bedia [Sun, 29 Aug 2010 07:54:38 +0000 (13:24 +0530)]
ti814x: Add support for clk and mux configuration

This patch adds support for clk and mux configuration
for ti814x class of processors.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti81xx: Update ti81xx files for ti814x support
Vaibhav Bedia [Sun, 29 Aug 2010 07:52:30 +0000 (13:22 +0530)]
ti81xx: Update ti81xx files for ti814x support

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti8148: Initial support
Vaibhav Bedia [Thu, 26 Aug 2010 09:48:55 +0000 (15:18 +0530)]
ti8148: Initial support

Add support for the 1st stage bootloader for ti8148.

The first stage is supposed to read the 2nd stage from flash
and pass control to it.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti816x: Updates for EA2
Vaibhav Bedia [Wed, 25 Aug 2010 13:05:20 +0000 (18:35 +0530)]
ti816x: Updates for EA2

-Rename target names used in header files
-Reorganise config file to have NAND and SPI support
 where it can co-exist
-Enable nand_ecc command in evm.c

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoenv_nand: return error when no device is found
Mike Frysinger [Thu, 12 Aug 2010 07:42:26 +0000 (03:42 -0400)]
env_nand: return error when no device is found

env_nand: return error when no device is found

Currently, if there is an error probing the NAND chip and the env is based
in NAND, the readenv() function will use a NULL function pointer and thus
jump to address 0.

Here I just check for a non-zero value of blocksize as that shouldn't be
zero when a valid device is found, but perhaps there is a better way for
someone familiar with the NAND internals to suggest.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
7 years agoti816x: Adjust device voltage based on characterization data
Ranjith Lohithakshan [Mon, 16 Aug 2010 06:03:40 +0000 (11:33 +0530)]
ti816x: Adjust device voltage based on characterization data

The patch adjusts the voltage fed to TI816X chip from TPS40041 based
on the characterization data for each device. This will reduce the
power consumption and thermal dissisipation of the device.

To enable this feature, enable CONFIG_TI816X_VOLT_SCALE in configuration.
A parameter table containing the mapping of characterized data in efuse to
GPIO values need to be obtained from the hardware team and populated in
software.

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
7 years agoti81xx: I2C support
Nageswari Srinivasan [Thu, 12 Aug 2010 14:59:18 +0000 (20:29 +0530)]
ti81xx: I2C support

Signed-off-by: Nageswari Srinivasan <nageswari@ti.com>
7 years agoARM: OMAP: Convert IO macros
Dirk Behme [Mon, 10 Nov 2008 19:15:25 +0000 (20:15 +0100)]
ARM: OMAP: Convert IO macros

Convert IO macros to readx/writex.

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
Signed-off-by: Nageswari Srinivasan <nageswari@ti.com>
7 years agoti816x: Ethernet support
Sriramakrishnan [Mon, 23 Aug 2010 12:57:42 +0000 (18:27 +0530)]
ti816x: Ethernet support

Add support for ethernet on ti8168 based EVMs.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTI EMAC: Update MAC addr when env is updated.
Sriramakrishnan [Wed, 16 Jun 2010 08:52:40 +0000 (14:22 +0530)]
TI EMAC: Update MAC addr when env is updated.

Initial boards do not have MAC address on EEPROM. Need to set
using setenv command. Update the MAC address on the peripeheral
when MAC address is specified through setenv command.

The actual reflection on HW will happen on next open call.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoti81xx: EMAC driver platform specific hookup.
Sriramakrishnan [Mon, 23 Aug 2010 12:49:34 +0000 (18:19 +0530)]
ti81xx: EMAC driver platform specific hookup.

Added platform specific defines for ti81xx family and init for EMAC
driver on ti8168.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTIIMAGE support
Mansoor Ahamed [Thu, 12 Aug 2010 13:59:04 +0000 (19:29 +0530)]
TIIMAGE support

This patch adds support for a new target image for ti81xx family

Signed-off-by: Mansoor Ahamed <mansoor.ahamed@ti.com>
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoti81xx: NOR support
Mansoor Ahamed [Mon, 23 Aug 2010 12:43:49 +0000 (18:13 +0530)]
ti81xx: NOR support

Add support for NOR flash for ti81xx family and do ti8168 specific hook-up

Signed-off-by: Mansoor Ahamed <mansoor.ahamed@ti.com>
7 years agoti81xx: SPI support
Mansoor Ahamed [Mon, 23 Aug 2010 12:26:29 +0000 (17:56 +0530)]
ti81xx: SPI support

Add support for SPI flash for ti81xx family and do ti8168 hook-up

Signed-off-by: Mansoor Ahamed <mansoor.ahamed@ti.com>
7 years agoti81xx: NAND support
Mansoor Ahamed [Mon, 23 Aug 2010 12:18:05 +0000 (17:48 +0530)]
ti81xx: NAND support

Add support for NAND for ti81xx family and do ti8168 specific hook-up

Signed-off-by: Mansoor Ahamed <mansoor.ahamed@ti.com>
7 years agoti81xx: Initial support
Hemant Pedanekar [Mon, 23 Aug 2010 11:44:49 +0000 (17:14 +0530)]
ti81xx: Initial support

This patch adds support for ti81xx class of processors.
It also adds support for ti8168 based EVMs

Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
7 years agoARM: Update ARM mach-types
Thomas Weber [Tue, 14 Sep 2010 14:42:54 +0000 (16:42 +0200)]
ARM: Update ARM mach-types

This patch updates the mach-types.h based on the latest linux kernel

Signed-off-by: Thomas Weber <weber@corscience.de>
7 years agoRevert "DM37x: Move to 26MHz sys clock"
Vaibhav Hiremath [Wed, 9 Jun 2010 10:37:20 +0000 (16:07 +0530)]
Revert "DM37x: Move to 26MHz sys clock"

This reverts commit 1f2effcbc64f2cfb93e75e81138145f5d304ec1e.

7 years agoRevert "DM37x:Added support for both micron and Hynix part in one image"
Vaibhav Hiremath [Thu, 3 Jun 2010 16:47:13 +0000 (22:17 +0530)]
Revert "DM37x:Added support for both micron and Hynix part in one image"

This reverts commit 32d9301fd3e0561ccf66d2d96ccc30a29cd245a5.

Conflicts:

arch/arm/cpu/arm_cortexa8/omap3/board.c

7 years agoTI EMAC driver : Fix compiler warning.
Sriramakrishnan [Tue, 4 May 2010 06:21:41 +0000 (11:51 +0530)]
TI EMAC driver : Fix compiler warning.

Added a missing double quote to fix compiler warning.
Also removed unused local variable.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTI EMAC driver : Implement auto-negotiation, rmii support
Sriramakrishnan [Wed, 25 Nov 2009 13:22:46 +0000 (18:52 +0530)]
TI EMAC driver : Implement auto-negotiation, rmii support

This patch enables auto-negotiation on every open call.
Also, the speed,duplex,rmii control bits are programmed based
on auto-negn results

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoAM3517: EMAC driver board specific hookup
Sriramakrishnan [Thu, 26 Nov 2009 05:49:39 +0000 (11:19 +0530)]
AM3517: EMAC driver board specific hookup

Add EMAC driver initialization to board init sequence and
program mux accordingly

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoOMAP3EVM : Update ethernet reset sequence for Rev.G board
Sriramakrishnan [Mon, 30 Nov 2009 12:34:34 +0000 (18:04 +0530)]
OMAP3EVM : Update ethernet reset sequence for Rev.G board

The GPIO pin used for resetting the external LAN chip has
changed for Rev.G board.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTI EMAC driver : Add buffer-to-hardware address translation logic.
Sriramakrishnan [Thu, 26 Nov 2009 05:47:58 +0000 (11:17 +0530)]
TI EMAC driver : Add buffer-to-hardware address translation logic.

On Socs like AM3517 the BD address from CPPI perspecive is different
from that of CPU view. Add logic for BD_TO_HW address translation
in such cases.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTI EMAC driver : add name to ethernet device
Sriramakrishnan [Wed, 25 Nov 2009 11:16:22 +0000 (16:46 +0530)]
TI EMAC driver : add name to ethernet device

Adds "DaVinci EMAC" as the name of the device so that it gets printed as "Using
DaVinci EMAC device" during network access (dhcp, tftp) instead of empty name in
"Using" statement.

This name also gets reflected in 'ethact' env variable.

Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTI EMAC Driver: Re-organize PHY support code
Sriramakrishnan [Wed, 25 Nov 2009 11:02:53 +0000 (16:32 +0530)]
TI EMAC Driver: Re-organize PHY support code

Added ifdefs around PHY handling functions.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTI EMAC driver : Re-organize header file.
Sriramakrishnan [Thu, 26 Nov 2009 06:03:56 +0000 (11:33 +0530)]
TI EMAC driver : Re-organize header file.

The current implementation assumes that the EMAC driver will
be used on Socs from Davinci Family only. The AM3517 Soc (non-
davinci)uses the same MAC controller and can leverage the existing
driver. To make the implementation more generic, moved arch
independent definitions to separate header file and added am3517
specific definitions to separate file.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoTFTP: reduce MTU_BLOCKSIZE for better inter-op.
Sriramakrishnan [Thu, 26 Nov 2009 06:06:41 +0000 (11:36 +0530)]
TFTP: reduce MTU_BLOCKSIZE for better inter-op.

Reduced the MTU_BLOCKSIZE to 512 bytes for better inter-op.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoAM3517 : enable ethernet in config file.
Sriramakrishnan [Wed, 25 Nov 2009 07:00:33 +0000 (12:30 +0530)]
AM3517 : enable ethernet in config file.

Enable ethernet, net support in am3517 configuration.

Signed-off-by: Sriramakrishnan <srk@ti.com>
7 years agoAdded configurations for xM Rev A board
Jason Kridner [Wed, 5 May 2010 19:53:49 +0000 (14:53 -0500)]
Added configurations for xM Rev A board

This defaults to "on" condition for USB and DVI.  May want to revise for
power savings.

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
7 years agoOMAP3: beagle: Set mpurate appropriately based on Rev
Koen Kooi [Tue, 13 Apr 2010 20:04:07 +0000 (22:04 +0200)]
OMAP3: beagle: Set mpurate appropriately based on Rev

set mpurate to 600 for revB and revC1-3 and to 1000 for xM

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
7 years agoOMAP3: beagle: add support for Beagle xM
Steve Sakoman [Tue, 23 Mar 2010 16:21:49 +0000 (09:21 -0700)]
OMAP3: beagle: add support for Beagle xM

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
7 years agoenv_nand.c: fail gracefully if no nand is present
Steve Sakoman [Tue, 23 Mar 2010 16:12:16 +0000 (09:12 -0700)]
env_nand.c: fail gracefully if no nand is present

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
7 years agoOMAP3: add mpurate boot arg for overo and beagle
Steve Sakoman [Wed, 3 Feb 2010 22:39:14 +0000 (14:39 -0800)]
OMAP3: add mpurate boot arg for overo and beagle

Allows one to set the omap clock rate via "setenv mpurate 720" for example
OMAP3: Beagle, Overo: remove omapfb.debug=y from default env

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
7 years agoOMAP3: update Beagle revision detection to recognize C4 boards
Steve Sakoman [Wed, 10 Feb 2010 22:51:48 +0000 (14:51 -0800)]
OMAP3: update Beagle revision detection to recognize C4 boards

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
7 years agoBuild issue for ONENAND fixed
Vaibhav Hiremath [Tue, 1 Jun 2010 15:36:59 +0000 (21:06 +0530)]
Build issue for ONENAND fixed

7 years agoDM37x:Added support for both micron and Hynix part in one image
Vaibhav Hiremath [Tue, 1 Jun 2010 15:36:11 +0000 (21:06 +0530)]
DM37x:Added support for both micron and Hynix part in one image

7 years agoDM37x: Move to 26MHz sys clock
Ranjith Lohithakshan [Thu, 29 Apr 2010 08:29:49 +0000 (13:59 +0530)]
DM37x: Move to 26MHz sys clock

Operating on a sys clock lower than 19.2MHz can lead to DDR corruption
when exiting OFF mode. DM37x is now made to operate at 26MHz sys clock
and the internal sys clock division is removed. All DPLL parameters
now recomputed with 26MHz as sys clock input.

Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
7 years agoDM37x: Added new SDRC timing configuration for 200Mhz hynix part
Vaibhav Hiremath [Tue, 1 Jun 2010 15:33:31 +0000 (21:03 +0530)]
DM37x: Added new SDRC timing configuration for 200Mhz hynix part

7 years agoAM/DM37x: Enabled L2 cache which was not getting enabled bfore
Vaibhav Hiremath [Tue, 1 Jun 2010 15:31:22 +0000 (21:01 +0530)]
AM/DM37x: Enabled L2 cache which was not getting enabled bfore

Signed-off-by: Vaibhav Hiremath<hvaibhav@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Reported-by: Steve Sakoman <steve@sakoman.com>
7 years agoDM37x: SGX clock source switched to CORE_CLK 200MHz
Vaibhav Hiremath [Tue, 1 Jun 2010 15:29:35 +0000 (20:59 +0530)]
DM37x: SGX clock source switched to CORE_CLK 200MHz

7 years agoOMAP37X: Update DPLL4 configuration
Vaibhav Hiremath [Tue, 1 Jun 2010 15:28:28 +0000 (20:58 +0530)]
OMAP37X: Update DPLL4 configuration

Configure M3, M4, M5, M6 to expected defaults
        M3 - 54MHz
M4 - 96MHz
M5 - 216MHz
M6 - 288MHz

7 years agoMPU rate setting changed to 600MHz
Vaibhav Hiremath [Tue, 1 Jun 2010 15:27:45 +0000 (20:57 +0530)]
MPU rate setting changed to 600MHz

Signed-off-by: Vaibhav Hiremath<hvaibhav@ti.com>
7 years agoOMAP37x: DPLL4-M2 configured for 96MHz
Vaibhav Hiremath [Tue, 1 Jun 2010 15:26:19 +0000 (20:56 +0530)]
OMAP37x: DPLL4-M2 configured for 96MHz

192MHz  configuration has some residue effect on Kernel, results is DSS
clock configuration error which need to debug further.

7 years agoAdd support for AM/DM37x devices
Sanjeev Premi [Thu, 14 Jan 2010 18:50:43 +0000 (00:20 +0530)]
Add support for AM/DM37x devices

This patch adds support for the AM/DM37x devices.
The initialization depends upon run-time detection of
the silicon family. This allows same binary to be used
across OMAP35x and AM/DM37x family.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>