[U-Boot] [PATCH 2/5] am33xx: support for booting via usbeth

Tom Rini trini at ti.com
Wed Jan 2 16:15:44 CET 2013


On Mon, Dec 31, 2012 at 08:32:40PM +0400, Ilya Yanok wrote:

> This patch adds BOOT_DEVICE define for USB booting and fixes
> spl_board_init function to call arch_misc_init (this is the place there
> musb is initialized).
[snip]
> @@ -54,6 +54,9 @@ void spl_board_init(void)
>  #ifdef CONFIG_SPL_NAND_SUPPORT
>  	gpmc_init();
>  #endif
> +#if defined(CONFIG_AM33XX) && defined(CONFIG_SPL_MUSB_NEW_SUPPORT)
> +	arch_misc_init();
> +#endif

I don't think we need both tests here.  As I said in the DFU thread,
arch_misc_init is where everyone should be doing the "just register
things" side of gadget USB hook-up.  Clocking and pinmux are elsewhere
anyhow.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130102/305e62fc/attachment.pgp>


More information about the U-Boot mailing list