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

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

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

2012-02-02 Thread Manjunath Hadli
ption CONFIG_MAC_ADDR_IN_SPIFLASH indicating where to look mac address for. Signed-off-by: Manjunath Hadli Cc: Tom Rini --- board/davinci/da8xxevm/da850evm.c | 58 + boards.cfg|2 +- 2 files changed, 59 insertions(+), 1 deletions(-)

[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
ndergone 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_DISPL

[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 Cc: Tom Rini --- arch/arm/cpu/arm926ejs/davin

[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 Cc: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/spee

[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 Cc: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/Makefile |2

[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 Cc: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/misc.c | 12 1

[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 Cc: Tom Rini --- arch/arm/cpu/arm926ejs/dav

[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 Cc: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/cpu.c | 32 arch

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

2012-02-06 Thread Manjunath Hadli
m previous 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 ar

[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 Cc: Tom Rini Cc: Mike Frysinger Cc: Wolfgang Denk --- Changes for v2: Removed

[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 Cc: Tom Rini Cc: Mike Frysinger Cc: Wolfgang Denk --- Changes for v3: undo conversion of debug statement to printf

[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
n 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 Cc: Tom Rini Cc: Mike Frysinger Cc: Wolfgang Denk --- board/davinci/da8xxevm/da850

[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 Cc: Tom Rini Cc: Mike Frysinger Cc: Wolfgang Denk --- board/davinci/da8xxevm/da850evm.c | 35