[U-Boot] [PATCH] dm: ehci-mx6: support driver model

Marek Vasut marex at denx.de
Sat Jun 18 02:44:48 CEST 2016


On 06/18/2016 12:59 AM, Simon Glass wrote:
> Hi Peng,
> 
> On 17 June 2016 at 00:19, Peng Fan <van.freenix at gmail.com> wrote:
>> Support driver model for ehci mx6 driver.
>> Consolidate code to be shared between DM and non-DM, such as
>> introducing ehci_mx6_common_init.
>> For simplicity, some old fasion code are keeped for DM usage,
>> such as board_ehci_power and board_usb_phy_mode. And 'dr-mode',
>> usbphy and vbus handling code for DM is not added now.
>> These will be added in future patches.
>>
>> Signed-off-by: Peng Fan <peng.fan at nxp.com>
>> Cc: Marek Vasut <marex at denx.de>
>> Cc: Mateusz Kulikowski <mateusz.kulikowski at gmail.com>
>> Cc: Stefan Agner <stefan at agner.ch>
>> Cc: Simon Glass <sjg at chromium.org>
>> ---
>>  drivers/usb/host/ehci-mx6.c | 144 +++++++++++++++++++++++++++++++++++++++-----
>>  1 file changed, 130 insertions(+), 14 deletions(-)
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> Good start. Do you have a plan to drop the board_...() functions?

Applied to u-boot-usb/next, thanks


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list