All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RESEND 4/5] trats: new USB hardware init interface
Date: Fri, 09 Aug 2013 18:30:25 +0900	[thread overview]
Message-ID: <5204B6B1.6040801@samsung.com> (raw)
In-Reply-To: <1375786257-11781-5-git-send-email-m.zalega@samsung.com>

On 08/06/2013 07:50 PM, Mateusz Zalega wrote:
> This commit changes name of an existing initialization function to
> board_usb_init(), so that such functions could be reached by every
> USB driver and command (ie. do_dfu()).
> 
> Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>
> ---
>  board/samsung/trats/trats.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
> index c8698f3..f8d4b0c 100644
> --- a/board/samsung/trats/trats.c
> +++ b/board/samsung/trats/trats.c
> @@ -26,6 +26,7 @@
>  #include <power/max8997_muic.h>
>  #include <power/battery.h>
>  #include <power/max17042_fg.h>
> +#include <usb.h>
>  #include <usb_mass_storage.h>
>  
>  #include "setup.h"
> @@ -488,10 +489,11 @@ struct s3c_plat_otg_data s5pc210_otg_data = {
>  	.usb_flags	= PHY0_SLEEP,
>  };
>  
> -void board_usb_init(void)
> +int board_usb_init(enum board_usb_init_type what_to_init)
>  {
>  	debug("USB_udc_probe\n");
>  	s3c_udc_probe(&s5pc210_otg_data);
> +	return 0;
Always return 0?
>  }
>  #endif
>  
> 

  reply	other threads:[~2013-08-09  9:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-06 10:50 [U-Boot] [PATCH RESEND 0/5] arm:goni: Update GONI configuration Mateusz Zalega
2013-08-06 10:50 ` [U-Boot] [PATCH RESEND 1/5] arm:goni: Update configuration for goni target Mateusz Zalega
2013-08-06 10:50 ` [U-Boot] [PATCH RESEND 2/5] arm:goni:dfu Add support for DFU at GONI target Mateusz Zalega
2013-08-09  9:27   ` Jaehoon Chung
2013-08-06 10:50 ` [U-Boot] [PATCH RESEND 3/5] arm:goni: Add support for USB mass storage Mateusz Zalega
2013-08-06 10:50 ` [U-Boot] [PATCH RESEND 4/5] trats: new USB hardware init interface Mateusz Zalega
2013-08-09  9:30   ` Jaehoon Chung [this message]
2013-08-09 14:33     ` Mateusz Zalega
2013-08-06 10:50 ` [U-Boot] [PATCH RESEND 5/5] arm:goni: Update of GONI partitioning scheme at eMMC Mateusz Zalega

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=5204B6B1.6040801@samsung.com \
    --to=jh80.chung@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.