[U-Boot] [PATCH v3] davinci: cleanup davinci_sync_env_enetaddr() fucntion

2012-02-09 Thread Manjunath Hadli
check for the return status for eth_getenv_enetaddr_by_index() and eth_setenv_enetaddr() functions and print appropriate message on failure. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com Cc: Mike Frysinger vap...@gentoo.org Cc: Wolfgang Denk w...@denx.de

[U-Boot] [PATCH v2 0/2] da850evm: add board specific functions

2012-02-09 Thread Manjunath Hadli
of error in misc_init_r() function while reading MAC address. Manjunath Hadli (2): da850evm: add support to read mac address from SPI flash da850evm: read mac address from I2C EEPROM on AM18x EVM board/davinci/da8xxevm/da850evm.c | 103 + boards.cfg

[U-Boot] [PATCH v2 1/2] da850evm: add support to read mac address from SPI flash

2012-02-09 Thread Manjunath Hadli
in the environment it compares the value one with SPI flash and warns on mismatch. Introduced a config option CONFIG_MAC_ADDR_IN_SPIFLASH indicating where to look mac address for. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com Cc: Mike Frysinger vap...@gentoo.org Cc

[U-Boot] [PATCH v2 2/2] da850evm: read mac address from I2C EEPROM on AM18x EVM

2012-02-09 Thread Manjunath Hadli
it with the mac address in EEPROM and warn on mismatch.Introduced a config option CONFIG_MAC_ADDR_IN_EEPROM to where to look for the mac address. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com Cc: Mike Frysinger vap...@gentoo.org Cc: Wolfgang Denk w...@denx.de

[U-Boot] [PATCH v2] davinci: cleanup davinci_sync_env_enetaddr() fucntion

2012-02-08 Thread Manjunath Hadli
check for the return status for eth_getenv_enetaddr_by_index() and eth_setenv_enetaddr() functions and print appropriate message on failure. Also convert debug message to printf(). Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com Cc: Mike Frysinger vap...@gentoo.org

[U-Boot] [PATCH] davinci: cleanup davinci_sync_env_enetaddr() fucntion

2012-02-06 Thread Manjunath Hadli
check for the return status for eth_getenv_enetaddr_by_index() and eth_setenv_enetaddr() functions and print appropriate message on failure. Also convert debug message to printf(). Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com --- arch/arm/cpu/arm926ejs/davinci

[U-Boot] [PATCH v2 1/2] davinci: remove macro CONFIG_DISPLAY_CPUINFO

2012-02-06 Thread Manjunath Hadli
remove the macro CONFIG_DISPLAY_CPUINFO as it is no longer required. This is because clock info will be printed as part 'bdinfo' command and also remove support print_cpuinfo() as it will no longer be called. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com

[U-Boot] [PATCH v2 2/2] davinci: add support for printing clock frequency

2012-02-06 Thread Manjunath Hadli
add support for printing various clock frequency info found in SOC such as ARM core frequency, DSP core frequency and DDR frequency as part of bdinfo command. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com --- arch/arm/cpu/arm926ejs/davinci/cpu.c | 32

[U-Boot] [PATCH v2 0/2] add support for printing of clock information as part of 'bdinfo' command

2012-02-06 Thread Manjunath Hadli
version: 1: Add support for printing clock information as part of bdinfo command instead of custom command, so that all architectures can have benefit of it. Manjunath Hadli (2): davinci: remove macro CONFIG_DISPLAY_CPUINFO davinci: add support for printing clock frequency arch/arm/cpu

[U-Boot] [PATCH 2/2] da850evm: read mac address from I2C EEPROM on AM18x EVM

2012-02-02 Thread Manjunath Hadli
to where to look for the mac address. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com --- board/davinci/da8xxevm/da850evm.c | 12 ++-- boards.cfg|2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/board/davinci

[U-Boot] [PATCH 1/2] da850evm: add support to read mac address from spi flash

2012-02-02 Thread Manjunath Hadli
CONFIG_MAC_ADDR_IN_SPIFLASH indicating where to look mac address for. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com --- board/davinci/da8xxevm/da850evm.c | 58 + boards.cfg|2 +- 2 files changed, 59

[U-Boot] [PATCH 0/2] da850evm: add board specific functions

2012-02-02 Thread Manjunath Hadli
support to read mac address from the appropriate device. These patches have undergone a review previously, but since the tree has moved ahead Christian and Tom asked to resubmit the patches for review. (http://www.mail-archive.com/u-boot@lists.denx.de/msg76220.html) Manjunath Hadli (2

[U-Boot] [PATCH 0/3] addition of clocks command for davinci

2012-02-02 Thread Manjunath Hadli
a review previously, but since the tree has moved ahead Christian and Tom asked to resubmit the patches for review. (http://www.mail-archive.com/u-boot@lists.denx.de/msg76220.html) Manjunath Hadli (3): davinci: move clock related functions to new file davinci: remove macro CONFIG_DISPLAY_CPUINFO

[U-Boot] [PATCH 2/3] davinci: remove macro CONFIG_DISPLAY_CPUINFO

2012-02-02 Thread Manjunath Hadli
remove the macro CONFIG_DISPLAY_CPUINFO as it is no longer required. This is because clock info will be printed as part 'clocks' command. Also avoid building of print_cpuinfo() function for SPL framework. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com --- arch

[U-Boot] [PATCH 3/3] davinci: add clocks command

2012-02-02 Thread Manjunath Hadli
Add 'clocks' command to print various frequencies such as ARM frequency, DSP core frequency and DDR frequency. Remove print_cpuinfo() function as it is no longer required. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com --- arch/arm/cpu/arm926ejs/davinci/speed.c

[U-Boot] [PATCH 1/3] davinci: move clock related functions to new file

2012-02-02 Thread Manjunath Hadli
Move the clock related function from cpu.c to new file speed.c. Eliminate volatile keyword usage which made no justification and also to keep checkpatch.pl happy. Replace REG instructions by readl. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Tom Rini tr...@ti.com --- arch/arm/cpu