summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChukun Pan2025-02-21 14:01:05 +0000
committerHauke Mehrtens2025-02-22 17:43:23 +0000
commit9df4a88e603169d7c9bd31b00d4f498ac9f0f7f0 (patch)
treee85cdb200d8d65a623c286232fc3f569dd22c85e
parent890293c13cc0c7e23577cb92c36edcc9911b4400 (diff)
downloadopenwrt-9df4a88e603169d7c9bd31b00d4f498ac9f0f7f0.tar.gz
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@jmu.edu.cn> Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250221140105.250920-1-amadeus@jmu.edu.cn/ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/sunxi/Makefile2
1 files changed, 1 insertions, 1 deletions
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