summaryrefslogtreecommitdiff
path: root/board/samsung/smdk5420/smdk5420.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2014-12-05 21:46:41 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2014-12-22 20:49:41 +0900
commit68904c83226d8bd519d7937958df578b26719ce2 (patch)
tree6b169b83d92842e6dc2d62ce0e1b049c43cae70d /board/samsung/smdk5420/smdk5420.c
parentce88a25cc28a5ad76826c3ed0270d274bbd84de9 (diff)
downloadu-boot-imx-68904c83226d8bd519d7937958df578b26719ce2.zip
u-boot-imx-68904c83226d8bd519d7937958df578b26719ce2.tar.gz
u-boot-imx-68904c83226d8bd519d7937958df578b26719ce2.tar.bz2
ARM: exynos5420: Leave VBUS GPIO configuration up to common code
Since commit 4a271cb1b4ffdf330 (exynos: usb: Switch USB VBUS GPIOs to be device tree configured) it's not needed for the board specific files to turn on the VBUS GPIO by hand as that gets done based on device tree. So drop the redundant code from the SMDK5420 board file. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/smdk5420/smdk5420.c')
-rw-r--r--board/samsung/smdk5420/smdk5420.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/board/samsung/smdk5420/smdk5420.c b/board/samsung/smdk5420/smdk5420.c
index 55f0ea2..1aca9fa 100644
--- a/board/samsung/smdk5420/smdk5420.c
+++ b/board/samsung/smdk5420/smdk5420.c
@@ -22,24 +22,8 @@
DECLARE_GLOBAL_DATA_PTR;
-#ifdef CONFIG_USB_EHCI_EXYNOS
-static int board_usb_vbus_init(void)
-{
- /* Enable VBUS power switch */
- gpio_direction_output(EXYNOS5420_GPIO_X26, 1);
-
- /* VBUS turn ON time */
- mdelay(3);
-
- return 0;
-}
-#endif
-
int exynos_init(void)
{
-#ifdef CONFIG_USB_EHCI_EXYNOS
- board_usb_vbus_init();
-#endif
return 0;
}