public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] ti_omap5_common: Respect USB controller number in fastboot
Date: Fri, 21 Oct 2016 07:19:20 -0400	[thread overview]
Message-ID: <20161021111920.GV18591@bill-the-cat> (raw)
In-Reply-To: <20161020155831.4212-3-semen.protsenko@linaro.org>

On Thu, Oct 20, 2016 at 06:58:29PM +0300, Sam Protsenko wrote:

> On "fastboot reboot-bootloader" we check "dofastboot" variable and do
> "fastboot 0" command in U-Boot if it's 1. But there are boards which have
> USB controller number other than 0, so it should be respected when
> performing "fastboot" command.
> 
> This patch reuses CONFIG_FASTBOOT_USB_DEV option toprovide correct USB
> controller number to "fastboot" command.
> 
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
>  include/configs/ti_omap5_common.h | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
> index 29b7d96..144a880 100644
> --- a/include/configs/ti_omap5_common.h
> +++ b/include/configs/ti_omap5_common.h
> @@ -110,11 +110,15 @@
>  	DFUARGS \
>  	NETARGS \
>  
> +#ifndef CONFIG_FASTBOOT_USB_DEV
> +#define CONFIG_FASTBOOT_USB_DEV 0
> +#endif

We don't need this hunk, it will always be defined now.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161021/b11828e3/attachment.sig>

  reply	other threads:[~2016-10-21 11:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-20 15:58 [U-Boot] [PATCH 0/4] am57xx: Add fastboot support Sam Protsenko
2016-10-20 15:58 ` [U-Boot] [PATCH 1/4] fastboot: Add CONFIG_FASTBOOT_USB_DEV option Sam Protsenko
2016-10-21 11:19   ` Tom Rini
2016-10-20 15:58 ` [U-Boot] [PATCH 2/4] ti_omap5_common: Respect USB controller number in fastboot Sam Protsenko
2016-10-21 11:19   ` Tom Rini [this message]
2016-10-24 15:42     ` Sam Protsenko
2016-10-20 15:58 ` [U-Boot] [PATCH 3/4] configs: am57xx: Enable download gadget Sam Protsenko
2016-10-21 11:19   ` Tom Rini
2016-10-20 15:58 ` [U-Boot] [PATCH 4/4] configs: am57xx: Enable fastboot Sam Protsenko
2016-10-21 11:19   ` Tom Rini

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=20161021111920.GV18591@bill-the-cat \
    --to=trini@konsulko.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