From: Tom Rini Date: Wed, 2 Jan 2013 08:15:44 -0700 Subject: [U-Boot] [PATCH 2/5] am33xx: support for booting via usbeth In-Reply-To: <1356971563-23478-3-git-send-email-ilya.yanok@cogentembedded.com> References: <1356971563-23478-1-git-send-email-ilya.yanok@cogentembedded.com> <1356971563-23478-3-git-send-email-ilya.yanok@cogentembedded.com> Message-ID: <20130102151544.GA14738@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 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: