From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 15 Dec 2015 20:17:32 -0700 Subject: [U-Boot] [PATCH 3/6] usb: dwc2: determine TT hub address and port for split transactions In-Reply-To: <1449980278-19881-4-git-send-email-stefan.bruens@rwth-aachen.de> References: <1449980278-19881-1-git-send-email-stefan.bruens@rwth-aachen.de> <1449980278-19881-4-git-send-email-stefan.bruens@rwth-aachen.de> Message-ID: <5670D7CC.1060308@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/12/2015 09:17 PM, Stefan Br?ns wrote: > Start split and complete split tokens need the hub address and the > downstream port of the first HS hub (device view). > Code copied from host/ehci_hcd.c Rather than cut/paste this, shouldn't you create a common function that can be shared between all users?