Re: [PATCH] ARM: multi_v7_defconfig: make USB_DWC3 as a module instead of built-in
From: Krzysztof Kozlowski
Date: Tue Apr 04 2023 - 06:01:10 EST
On 04/04/2023 10:51, Arnd Bergmann wrote:
> On Tue, Apr 4, 2023, at 10:42, Roger Quadros wrote:
>> USB_DWC3 is not required for boot on most platforms make it
>> as a module instead of built-in.
>>
>> Signed-off-by: Roger Quadros <rogerq@xxxxxxxxxx>
>> ---
>
> Does this save a significant amount of vmlinux size? Since this
> is a fairly common USB driver, I think it does help to have it
> built-in for users booting from USB_STORAGE or nfsroot over
> USB_USBNET, which are both built-in and not uncommon.
Especially that sometimes, at least for arm64 defconfig, we added as
built-in less critical pieces (RENESAS_ETHER_SWITCH, MARVELL_10G_PHY,
HTE_TEGRA194, SM_VIDEOCC_8250 and other non-core clock controllers).
This change will require several systems to update their initrd to
include USB.
Best regards,
Krzysztof