From: Adam Ford Date: Fri, 26 Aug 2016 12:53:53 +0000 (-0500) Subject: omap3logic: Fix PBIAS Bug X-Git-Tag: v2016.09~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=31c98cbb31dc8c7ccb0e9c07ff340c22f5e407ba;p=u-boot omap3logic: Fix PBIAS Bug The PBIAS fixing is done in the MMC driver, and doing it in the the board file conflicts with the driver causing intermittent hangs on reboot. Remove this from the board file and let the driver do it. Signed-off-by: Adam Ford Reviewed-by: Tom Rini --- diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 51d2987566..c2bb730e97 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som/omap3logic.c @@ -144,20 +144,8 @@ static struct musb_hdrc_platform_data musb_plat = { */ int misc_init_r(void) { - t2_t *t2_base = (t2_t *)T2_BASE; - u32 pbias_lite; - /* set up dual-voltage GPIOs to 1.8V */ - pbias_lite = readl(&t2_base->pbias_lite); - pbias_lite &= ~PBIASLITEVMODE1; - pbias_lite |= PBIASLITEPWRDNZ1; - writel(pbias_lite, &t2_base->pbias_lite); - if (get_cpu_family() == CPU_OMAP36XX) - writel(readl(CONTROL_WKUP_CTRL) | GPIO_IO_PWRDNZ, - CONTROL_WKUP_CTRL); twl4030_power_init(); - omap_die_id_display(); - putc('\n'); #ifdef CONFIG_USB_MUSB_OMAP2PLUS musb_register(&musb_plat, &musb_board_data, (void *)MUSB_BASE);