Bläddra i källkod

airoha: an7581: enable NPU by default

There is no reason not to do this.

Use the following commands to enable hardware offloading:
    uci set firewall.@defaults[0].flow_offloading='1'
    uci set firewall.@defaults[0].flow_offloading_hw='1'
    uci commit

Signed-off-by: Ziyang Huang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20484
Signed-off-by: Christian Marangi <[email protected]>
Ziyang Huang 2 månader sedan
förälder
incheckning
a19ccd9d15
2 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 0
      target/linux/airoha/an7581/target.mk
  2. 0 1
      target/linux/airoha/dts/an7581.dtsi

+ 3 - 0
target/linux/airoha/an7581/target.mk

@@ -5,6 +5,9 @@ CPU_TYPE:=cortex-a53
 KERNELNAME:=Image dtbs
 FEATURES+=pwm source-only
 
+DEFAULT_PACKAGES += \
+	airoha-en7581-npu-firmware
+
 define Target/Description
 	Build firmware images for Airoha an7581 ARM based boards.
 endef

+ 0 - 1
target/linux/airoha/dts/an7581.dtsi

@@ -832,7 +832,6 @@
 					<&npu_txbufid>;
 			memory-region-names = "binary", "pkt", "tx-pkt",
 					      "tx-bufid";
-			status = "disabled";
 		};
 
 		eth: ethernet@1fb50000 {