From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 21 Oct 2016 07:19:20 -0400 Subject: [U-Boot] [PATCH 2/4] ti_omap5_common: Respect USB controller number in fastboot In-Reply-To: <20161020155831.4212-3-semen.protsenko@linaro.org> References: <20161020155831.4212-1-semen.protsenko@linaro.org> <20161020155831.4212-3-semen.protsenko@linaro.org> Message-ID: <20161021111920.GV18591@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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: