Commit 047eada42a776468426be1f05d3203f90ce3a8d8
Committed by
Minkyu Kang
1 parent
3732e49f0f
Exists in
master
and in
49 other branches
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>
Showing 1 changed file with 0 additions and 19 deletions Side-by-side Diff
board/samsung/smdk5250/smdk5250.c
... | ... | @@ -26,22 +26,6 @@ |
26 | 26 | |
27 | 27 | DECLARE_GLOBAL_DATA_PTR; |
28 | 28 | |
29 | -#ifdef CONFIG_USB_EHCI_EXYNOS | |
30 | -static int board_usb_vbus_init(void) | |
31 | -{ | |
32 | - struct exynos5_gpio_part1 *gpio1 = (struct exynos5_gpio_part1 *) | |
33 | - samsung_get_base_gpio_part1(); | |
34 | - | |
35 | - /* Enable VBUS power switch */ | |
36 | - s5p_gpio_direction_output(&gpio1->x2, 6, 1); | |
37 | - | |
38 | - /* VBUS turn ON time */ | |
39 | - mdelay(3); | |
40 | - | |
41 | - return 0; | |
42 | -} | |
43 | -#endif | |
44 | - | |
45 | 29 | #ifdef CONFIG_SOUND_MAX98095 |
46 | 30 | static void board_enable_audio_codec(void) |
47 | 31 | { |
... | ... | @@ -56,9 +40,6 @@ |
56 | 40 | |
57 | 41 | int exynos_init(void) |
58 | 42 | { |
59 | -#ifdef CONFIG_USB_EHCI_EXYNOS | |
60 | - board_usb_vbus_init(); | |
61 | -#endif | |
62 | 43 | #ifdef CONFIG_SOUND_MAX98095 |
63 | 44 | board_enable_audio_codec(); |
64 | 45 | #endif |