summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVivek Gautam <gautam.vivek@samsung.com>2014-01-03 16:10:53 +0530
committerMinkyu Kang <mk7.kang@samsung.com>2014-02-03 13:28:23 +0900
commit047eada42a776468426be1f05d3203f90ce3a8d8 (patch)
treec8e20f9ba20aee6f37280b3e60a7ce38309cf51f /board
parent3732e49f0fd0ed9f55fa17d5219c31176ee94bd0 (diff)
downloadu-boot-imx-047eada42a776468426be1f05d3203f90ce3a8d8.zip
u-boot-imx-047eada42a776468426be1f05d3203f90ce3a8d8.tar.gz
u-boot-imx-047eada42a776468426be1f05d3203f90ce3a8d8.tar.bz2
smdk5250: Remove 'board_usb_vbus_init()' function
Previously as a part of moving the VBUS gpio support to device tree following patch removed this and added relevant support in driver: 4a271cb exynos: usb: Switch USB VBUS GPIOs to be device tree configured Recent changes for common board file migration for exynos platform added it again. So removing it now. Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com> Cc: Julius Werner <jwerner@chromium.org> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Marek Vasut <marex@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board')
-rw-r--r--board/samsung/smdk5250/smdk5250.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index 943c29a..a69f73d 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -26,22 +26,6 @@
DECLARE_GLOBAL_DATA_PTR;
-#ifdef CONFIG_USB_EHCI_EXYNOS
-static int board_usb_vbus_init(void)
-{
- struct exynos5_gpio_part1 *gpio1 = (struct exynos5_gpio_part1 *)
- samsung_get_base_gpio_part1();
-
- /* Enable VBUS power switch */
- s5p_gpio_direction_output(&gpio1->x2, 6, 1);
-
- /* VBUS turn ON time */
- mdelay(3);
-
- return 0;
-}
-#endif
-
#ifdef CONFIG_SOUND_MAX98095
static void board_enable_audio_codec(void)
{
@@ -56,9 +40,6 @@ static void board_enable_audio_codec(void)
int exynos_init(void)
{
-#ifdef CONFIG_USB_EHCI_EXYNOS
- board_usb_vbus_init();
-#endif
#ifdef CONFIG_SOUND_MAX98095
board_enable_audio_codec();
#endif