mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: Re: [PATCH 1/5] usb-a926x: only provide the resource if the driver is enable
Date: Sun, 3 Feb 2013 19:32:33 +0100	[thread overview]
Message-ID: <20130203183233.GG18068@game.jcrosoft.org> (raw)
In-Reply-To: <1359905053-13109-1-git-send-email-plagnioj@jcrosoft.com>

On 16:24 Sun 03 Feb     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> usefull for bootstrap
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
ingore this patch

Best Regards,
J.
>  arch/arm/boards/usb-a926x/init.c |    9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boards/usb-a926x/init.c b/arch/arm/boards/usb-a926x/init.c
> index 0383280..e2da8ea 100644
> --- a/arch/arm/boards/usb-a926x/init.c
> +++ b/arch/arm/boards/usb-a926x/init.c
> @@ -246,6 +246,15 @@ static struct at91_udc_data __initdata ek_udc_data = {
>  	.pullup_pin	= -EINVAL,		/* pull-up driven by UDC */
>  };
>  
> +static void usb_a9260_add_device_usb(void)
> +{
> +	at91_add_device_usbh_ohci(&ek_usbh_data);
> +}
> +#else
> +static void usb_a9260_add_device_usb(void) {}
> +#endif
> +
> +#ifdef CONFIG_USB_GADGET_DRIVER_AT91
>  static void __init ek_add_device_udc(void)
>  {
>  	if (machine_is_usb_a9260() || machine_is_usb_a9g20())
> -- 
> 1.7.10.4
> 

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2013-02-03 18:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-03 15:22 [PATCH 0/5] at91sam926x: drop AT91_BASE_SYS for sdram controller + gpio cleanup Jean-Christophe PLAGNIOL-VILLARD
2013-02-03 15:24 ` [PATCH 1/5] usb-a926x: only provide the resource if the driver is enable Jean-Christophe PLAGNIOL-VILLARD
2013-02-03 15:24   ` [PATCH 2/5] at91: gpio: split accessor so we can use them for early init Jean-Christophe PLAGNIOL-VILLARD
2013-02-03 15:24   ` [PATCH 3/5] at91sam926x_lowlevel_init: use pio macro Jean-Christophe PLAGNIOL-VILLARD
2013-02-03 15:24   ` [PATCH 4/5] at91sam926x_lowlevel_init: use struct to pass soc config Jean-Christophe PLAGNIOL-VILLARD
2013-02-03 15:24   ` [PATCH 5/5] at91sam9: drop AT91_BASE_SYS for sdram controller Jean-Christophe PLAGNIOL-VILLARD
2013-02-03 18:32   ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2013-02-06 20:18 ` [PATCH 0/5] at91sam926x: drop AT91_BASE_SYS for sdram controller + gpio cleanup Jean-Christophe PLAGNIOL-VILLARD

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=20130203183233.GG18068@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    /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