Skip to content

Commit 51dac87

Browse files
committed
configs: arm64: Remove CONFIG_USB_DWCOTG
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]>
1 parent 676b222 commit 51dac87

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

arch/arm64/configs/bcm2711_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,6 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
12651265
CONFIG_USB_MON=m
12661266
CONFIG_USB_XHCI_HCD=y
12671267
CONFIG_USB_XHCI_PCI_RENESAS=m
1268-
CONFIG_USB_DWCOTG=y
12691268
CONFIG_USB_PRINTER=m
12701269
CONFIG_USB_TMC=m
12711270
CONFIG_USB_STORAGE=y

arch/arm64/configs/bcm2711_rt_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,6 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
12651265
CONFIG_USB_MON=m
12661266
CONFIG_USB_XHCI_HCD=y
12671267
CONFIG_USB_XHCI_PCI_RENESAS=m
1268-
CONFIG_USB_DWCOTG=y
12691268
CONFIG_USB_PRINTER=m
12701269
CONFIG_USB_TMC=m
12711270
CONFIG_USB_STORAGE=y

arch/arm64/configs/bcm2712_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,6 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
12671267
CONFIG_USB_MON=m
12681268
CONFIG_USB_XHCI_HCD=y
12691269
CONFIG_USB_XHCI_PCI_RENESAS=m
1270-
CONFIG_USB_DWCOTG=y
12711270
CONFIG_USB_PRINTER=m
12721271
CONFIG_USB_TMC=m
12731272
CONFIG_USB_STORAGE=y

0 commit comments

Comments
 (0)