Skip to content

configs: arm64: Remove CONFIG_USB_DWCOTG #6883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Jun 5, 2025

The downstream dwc-otg driver does not work in 64-bit mode; dwc2 should be used instead. It follows that there is no point enabling the driver in arm64 builds, and especially not as a built-in.

Remove CONFIG_USB_DWCOTG=y from the arm64 defconfigs, and save a useful 200kB (~1%) from the uncompressed kernel.

The downstream dwc-otg driver does not work in 64-bit mode; dwc2 should
be used instead. It follows that there is no point enabling the driver
in arm64 builds, and especially not as a built-in.

Remove CONFIG_USB_DWCOTG=y from the arm64 defconfigs, and save a useful
200kB (~1%) from the uncompressed kernel.

Signed-off-by: Phil Elwell <[email protected]>
@pelwell pelwell merged commit 51dac87 into raspberrypi:rpi-6.12.y Jun 5, 2025
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jun 5, 2025
kernel: Add support for the IMX283 on Raspberry Pi platforms
See: raspberrypi/linux#6869

kernel: Pisound Micro: Workaround for snd_soc_dai_set_tdm_slot with slots=0
See: raspberrypi/linux#6880

kernel: add rtw88/rtw89 drivers
See: raspberrypi/linux#6881

kernel: configs: arm64: Remove CONFIG_USB_DWCOTG
See: raspberrypi/linux#6883
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jun 5, 2025
kernel: Add support for the IMX283 on Raspberry Pi platforms
See: raspberrypi/linux#6869

kernel: Pisound Micro: Workaround for snd_soc_dai_set_tdm_slot with slots=0
See: raspberrypi/linux#6880

kernel: add rtw88/rtw89 drivers
See: raspberrypi/linux#6881

kernel: configs: arm64: Remove CONFIG_USB_DWCOTG
See: raspberrypi/linux#6883
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants