[U-Boot] [PATCH 04/10] ARM: uniphier: switch over to USB DM

Marek Vasut marex at denx.de
Mon May 16 16:21:47 CEST 2016


On 05/16/2016 03:03 PM, Masahiro Yamada wrote:
> Hi Marek,
> 
> 2016-05-11 20:26 GMT+09:00 Marek Vasut <marex at denx.de>:
>> On 05/11/2016 12:28 PM, Masahiro Yamada wrote:
>>
>> Please, do write commit messages.
>>
>>> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
>>> ---
>>>
>>>  arch/arm/Kconfig           | 1 +
>>>  include/configs/uniphier.h | 4 ++++
>>>  2 files changed, 5 insertions(+)
>>>
>>> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
>>> index 6b65d8e..59410cb 100644
>>> --- a/arch/arm/Kconfig
>>> +++ b/arch/arm/Kconfig
>>> @@ -723,6 +723,7 @@ config ARCH_UNIPHIER
>>>       select DM_SERIAL
>>>       select DM_I2C
>>>       select DM_MMC
>>> +     select DM_USB
>>>       help
>>>         Support for UniPhier SoC family developed by Socionext Inc.
>>>         (formerly, System LSI Business Division of Panasonic Corporation)
>>> diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
>>> index 18cb963..868f001 100644
>>> --- a/include/configs/uniphier.h
>>> +++ b/include/configs/uniphier.h
>>> @@ -136,6 +136,10 @@
>>>  #define CONFIG_FAT_WRITE
>>>  #define CONFIG_DOS_PARTITION
>>>
>>> +#ifdef CONFIG_USB_DWC3_UNIPHIER
>>> +#define CONFIG_USB_XHCI_DWC3
>>
>> Could this be converted to Kconfig ?
>>
> 
> I noticed this task was not so easy as I had imagined first.
> 
> Before moving CONFIB_USB_XHCI_DWC3,
> I need to move CONFIG_USB_XHCI(_HCD)
> because USB_XHCI_DWC3 depends on USB_XHCI_HCD.
> 
> Before moving CONFIB_USB_XHCI(_HCD),
> I need to move CONFIG_USB
> because USB_XHCI(_HCD) depends on USB.
> 
> A problem here is that many boards
> define CONFIG_USB_XHCI without CONFIG_USB.
> 
> In spite of that fact, finally I managed to
> convert them and pass buildman test.
> So, v2 is out now.
> 
> 
> 

Thanks!

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list