From: Tom Rini Date: Mon, 12 Oct 2020 09:07:20 -0400 Subject: [PATCH 2/2] am335x_evm: Allow booting from usb-storage device In-Reply-To: <20201009131953.GF14816@bill-the-cat> References: <20200824180033.13681-1-matwey.kornilov@gmail.com> <20200824180033.13681-2-matwey.kornilov@gmail.com> <20201009131953.GF14816@bill-the-cat> Message-ID: <20201012130720.GY14816@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 Fri, Oct 09, 2020 at 09:19:53AM -0400, Tom Rini wrote: > On Sun, Oct 04, 2020 at 02:23:21PM +0300, Matwey V. Kornilov wrote: > > > > Ping? and I see this was applied back in September to the -next branch, so this is in master now. > > > > ??, 24 ???. 2020 ?. ? 21:00, Matwey V. Kornilov : > > > > > Signed-off-by: Matwey V. Kornilov > > > --- > > > include/configs/am335x_evm.h | 7 +++++++ > > > 1 file changed, 7 insertions(+) > > > > > > diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h > > > index 9c4ef369c5..103c046137 100644 > > > --- a/include/configs/am335x_evm.h > > > +++ b/include/configs/am335x_evm.h > > > @@ -66,6 +66,12 @@ > > > #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \ > > > #devtypel #instance " " > > > > > > +#if CONFIG_IS_ENABLED(CMD_USB) > > > +# define BOOT_TARGET_USB(func) func(USB, usb, 0) > > > +#else > > > +# define BOOT_TARGET_USB(func) > > > +#endif > > > + > > > #if CONFIG_IS_ENABLED(CMD_PXE) > > > # define BOOT_TARGET_PXE(func) func(PXE, pxe, na) > > > #else > > > @@ -84,6 +90,7 @@ > > > func(MMC, mmc, 1) \ > > > func(LEGACY_MMC, legacy_mmc, 1) \ > > > func(NAND, nand, 0) \ > > > + BOOT_TARGET_USB(func) \ > > > BOOT_TARGET_PXE(func) \ > > > BOOT_TARGET_DHCP(func) > > Reviewed-by: Tom Rini > > -- > Tom -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: