Re: [PATCH] ARM: multi_v7_defconfig: make USB_DWC3 as a module instead of built-in

From: Roger Quadros
Date: Tue Apr 04 2023 - 07:46:20 EST




On 04/04/2023 13:01, Krzysztof Kozlowski wrote:
> 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

vmlinux size reduces by ~529KB

>> 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.

OK.

>
> 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.

OK. Please ignore this patch and the arm64 defconfig one as well. ;)

cheers,
-roger