[openwrt/openwrt] sunxi: enable usbgadget feature

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 22 10:54:02 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/9df4a88e603169d7c9bd31b00d4f498ac9f0f7f0

commit 9df4a88e603169d7c9bd31b00d4f498ac9f0f7f0
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Fri Feb 21 22:01:05 2025 +0800

    sunxi: enable usbgadget feature
    
    The USB of most sunxi devices works in otg or peripheral mode.
    Enable this feature to use usbgadget. Tested on OrangePi Zero3.
    
    Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
    Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250221140105.250920-1-amadeus@jmu.edu.cn/
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/sunxi/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile
index d91e5c5a3e..193383e940 100644
--- a/target/linux/sunxi/Makefile
+++ b/target/linux/sunxi/Makefile
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=sunxi
 BOARDNAME:=Allwinner ARM SoCs
-FEATURES:=usb ext4 display rootfs-part rtc squashfs
+FEATURES:=ext4 display rootfs-part rtc squashfs usb usbgadget
 SUBTARGETS:=cortexa8 cortexa7 cortexa53
 
 KERNEL_PATCHVER:=6.6




More information about the lede-commits mailing list