From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Mon, 17 Dec 2012 18:37:22 +0100 Subject: [U-Boot] [PATCH 05/10] dfu: Only perform DFU board_usb_init() for TRATS In-Reply-To: <20121217142853.GA6167@bill-the-cat> 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> <20121217142853.GA6167@bill-the-cat> Message-ID: <20121217183722.5671da52@amdc308.digital.local> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, > 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. > I will check if s3c_udc_probe can be removed totally and replaced by usb_gadget_register_driver (since some time has passed from original UDC driver posting). -- Best regards, Lukasz Majewski Samsung Poland R&D Center | Linux Platform Group