From 14dd865173503afdc090dfef0a1c0845e7e1e9bf Mon Sep 17 00:00:00 2001 From: Manikandan Pillai Date: Thu, 7 Aug 2008 16:10:03 +0530 Subject: [PATCH] Cleanup in misc_init() for OMAP3EVM Signed-off-by: Manikandan Pillai --- board/omap3evm/omap3evm.c | 23 +---------------------- 1 files changed, 1 insertions(+), 22 deletions(-) diff --git a/board/omap3evm/omap3evm.c b/board/omap3evm/omap3evm.c index c277796..ba10673 100644 --- a/board/omap3evm/omap3evm.c +++ b/board/omap3evm/omap3evm.c @@ -248,28 +248,7 @@ int misc_init_r(void) #ifdef CONFIG_DRIVER_OMAP34XX_I2C i2c_init(CFG_I2C_SPEED, CFG_I2C_SLAVE); #endif - byte = 0x20; - i2c_write(0x4B, 0x7A, 1, &byte, 1); - byte = 0x03; - i2c_write(0x4B, 0x7D, 1, &byte, 1); - byte = 0xE0; - i2c_write(0x4B, 0x8E, 1, &byte, 1); - byte = 0x05; - i2c_write(0x4B, 0x91, 1, &byte, 1); - byte = 0x20; - i2c_write(0x4B, 0x96, 1, &byte, 1); - byte = 0x03; - i2c_write(0x4B, 0x99, 1, &byte, 1); - byte = 0x33; - i2c_write(0x4A, 0xEE, 1, &byte, 1); - - *((uint *) 0x49058034) = 0xFFFFFAF9; - *((uint *) 0x49056034) = 0x0F9F0FFF; - *((uint *) 0x49058094) = 0x00000506; - *((uint *) 0x49056094) = 0xF060F000; - - /* set clksel_tv and clksel_dss1 to DPLL4 clock divided by 1 */ - *((uint *) 0x48004E40) = 0x00001001; + #if defined(CONFIG_CMD_NET) setup_net_chip(); #endif -- 1.5.6