diff options
author | Roland Stigge <stigge@antcom.de> | 2012-07-01 15:06:45 -0400 |
---|---|---|
committer | Roland Stigge <stigge@antcom.de> | 2012-07-01 15:06:45 -0400 |
commit | 382656d81be23853f1a1a49d6669a92f70f5938b (patch) | |
tree | 5127c2b1e02817922e2bca42f059d3108f12ffa6 | |
parent | a408e8f423e91a50727e7e85461cf7677d25ebf6 (diff) |
ARM: LPC32xx: Remove USB and I2C init from phy3250.c
USB and I2C initialization can be removed safely from the board specific
phy3250.c, now that initialization moved to the generalized clock.c.
Signed-off-by: Roland Stigge <stigge@antcom.de>
Tested-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
-rw-r--r-- | arch/arm/mach-lpc32xx/phy3250.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c index 5be2cbfb4d99..ff3c1f4aa500 100644 --- a/arch/arm/mach-lpc32xx/phy3250.c +++ b/arch/arm/mach-lpc32xx/phy3250.c | |||
@@ -248,18 +248,6 @@ static void __init lpc3250_machine_init(void) | |||
248 | tmp |= LPC32XX_CLKPWR_LCDCTRL_LCDTYPE_TFT16; | 248 | tmp |= LPC32XX_CLKPWR_LCDCTRL_LCDTYPE_TFT16; |
249 | __raw_writel(tmp, LPC32XX_CLKPWR_LCDCLK_CTRL); | 249 | __raw_writel(tmp, LPC32XX_CLKPWR_LCDCLK_CTRL); |
250 | 250 | ||
251 | /* Set up USB power */ | ||
252 | tmp = __raw_readl(LPC32XX_CLKPWR_USB_CTRL); | ||
253 | tmp |= LPC32XX_CLKPWR_USBCTRL_HCLK_EN | | ||
254 | LPC32XX_CLKPWR_USBCTRL_USBI2C_EN; | ||
255 | __raw_writel(tmp, LPC32XX_CLKPWR_USB_CTRL); | ||
256 | |||
257 | /* Set up I2C pull levels */ | ||
258 | tmp = __raw_readl(LPC32XX_CLKPWR_I2C_CLK_CTRL); | ||
259 | tmp |= LPC32XX_CLKPWR_I2CCLK_USBI2CHI_DRIVE | | ||
260 | LPC32XX_CLKPWR_I2CCLK_I2C2HI_DRIVE; | ||
261 | __raw_writel(tmp, LPC32XX_CLKPWR_I2C_CLK_CTRL); | ||
262 | |||
263 | lpc32xx_serial_init(); | 251 | lpc32xx_serial_init(); |
264 | 252 | ||
265 | /* Test clock needed for UDA1380 initial init */ | 253 | /* Test clock needed for UDA1380 initial init */ |