public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: exynos5420: Leave VBUS GPIO configuration up to common code
Date: Mon, 22 Dec 2014 21:22:02 +0900	[thread overview]
Message-ID: <54980CEA.3020202@samsung.com> (raw)
In-Reply-To: <1417812401-31056-1-git-send-email-sjoerd.simons@collabora.co.uk>

On 06/12/14 05:46, Sjoerd Simons wrote:
> 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>
> ---
>  board/samsung/smdk5420/smdk5420.c | 16 ----------------
>  1 file changed, 16 deletions(-)
> 
> diff --git a/board/samsung/smdk5420/smdk5420.c b/board/samsung/smdk5420/smdk5420.c
> index a691222..06cba80 100644
> --- a/board/samsung/smdk5420/smdk5420.c
> +++ b/board/samsung/smdk5420/smdk5420.c
> @@ -21,24 +21,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;
>  }
>  
> 


applied to u-boot-samsung.

Thanks,
Minkyu Kang.

      parent reply	other threads:[~2014-12-22 12:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 20:46 [U-Boot] [PATCH] ARM: exynos5420: Leave VBUS GPIO configuration up to common code Sjoerd Simons
2014-12-07 21:28 ` Simon Glass
2014-12-22 12:22 ` Minkyu Kang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54980CEA.3020202@samsung.com \
    --to=mk7.kang@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox