bcm27xx: bcm2712: enable USB symbols and drop packages
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 29 Jan 2024 09:11:40 +0000 (10:11 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 29 Jan 2024 21:23:01 +0000 (22:23 +0100)
This allows booting from USB.

Fixes: 8b63d9ac4ae9 ("bcm27xx: add new bcm2712 subtarget")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bcm27xx/bcm2712/config-6.1
target/linux/bcm27xx/image/Makefile

index 08445ffee2d377da649751b8819870c3bc27e4c2..ed2cc0ebe4fc059b417b9028f3ca686e8c1f7c7e 100644 (file)
@@ -426,6 +426,7 @@ CONFIG_PADATA=y
 CONFIG_PAGE_POOL=y
 CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
 CONFIG_PAGE_SIZE_LESS_THAN_64KB=y
+CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
 CONFIG_PARTITION_PERCPU=y
 CONFIG_PCI=y
 CONFIG_PCIEAER=y
@@ -575,6 +576,10 @@ CONFIG_USB=y
 CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
 # CONFIG_USB_BRCMSTB is not set
 CONFIG_USB_COMMON=y
+CONFIG_USB_DWC3=y
+# CONFIG_USB_DWC3_DUAL_ROLE is not set
+# CONFIG_USB_DWC3_GADGET is not set
+CONFIG_USB_DWC3_HOST=y
 CONFIG_USB_DWCOTG=y
 CONFIG_USB_GADGET=y
 # CONFIG_USB_HCD_BCMA is not set
index e55a7b17b549257b9637f35006752e6c104e87bc..e5c2d154994a32f7de080f789e5f4f78426dd704 100644 (file)
@@ -181,8 +181,7 @@ define Device/rpi-5
        cypress-firmware-43455-sdio \
        brcmfmac-nvram-43455-sdio \
        kmod-brcmfmac wpad-basic-mbedtls \
-       kmod-hwmon-pwmfan kmod-thermal \
-       kmod-usb-dwc3 kmod-usb3
+       kmod-hwmon-pwmfan kmod-thermal
   IMAGE/sysupgrade.img.gz := boot-common | boot-2711 | sdcard-img | gzip | append-metadata
   IMAGE/factory.img.gz := boot-common | boot-2711 | sdcard-img | gzip
 endef