From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 17 Dec 2012 07:28:53 -0700 Subject: [U-Boot] [PATCH 05/10] dfu: Only perform DFU board_usb_init() for TRATS In-Reply-To: <20121128154743.06b3da95@amdc308.digital.local> References: <1354174439-5589-1-git-send-email-panto@antoniou-consulting.com> <1354174439-5589-6-git-send-email-panto@antoniou-consulting.com> <20121128154743.06b3da95@amdc308.digital.local> Message-ID: <20121217142853.GA6167@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 Wed, Nov 28, 2012 at 03:47:43PM +0100, Lukasz Majewski wrote: > Hi Pantelis, > > > USB initialization shouldn't happen for all the boards. > > > > The board_usb_init() follows u-boot policy, that SoC IPs (USB) are > enabled and configured just before their usage. Going back to this old thread as I dig at things again. How much of s3c_udc_probe is actually enabling hardware as opposed to registering that such hardware exists and can be enabled when we call usb_gadget_register_driver ? It looks like all of the clocking (and pin muxing?) is already being done. -- Tom