ipq40xx: migrate Linksys WHW01 to DSA and re-enable
Convert Linksys WHW01 network configuration to DSA and re-enable builds. Reviewed-by: Robert Marko <robimarko@gmail.com> Tested-by: Wyatt Martin <wawowl@gmail.com> Signed-off-by: Wyatt Martin <wawowl@gmail.com> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
This commit is contained in:
		@@ -59,6 +59,9 @@ ipq40xx_setup_interfaces()
 | 
				
			|||||||
	compex,wpj428)
 | 
						compex,wpj428)
 | 
				
			||||||
		ucidef_set_interface_lan "lan1 lan2"
 | 
							ucidef_set_interface_lan "lan1 lan2"
 | 
				
			||||||
		;;
 | 
							;;
 | 
				
			||||||
 | 
						linksys,whw01)
 | 
				
			||||||
 | 
							ucidef_set_interface_lan "eth1 eth2"
 | 
				
			||||||
 | 
							;;
 | 
				
			||||||
	glinet,gl-a1300|\
 | 
						glinet,gl-a1300|\
 | 
				
			||||||
	glinet,gl-b1300|\
 | 
						glinet,gl-b1300|\
 | 
				
			||||||
	mobipromo,cm520-79f)
 | 
						mobipromo,cm520-79f)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -316,3 +316,21 @@
 | 
				
			|||||||
	nvmem-cell-names = "pre-calibration";
 | 
						nvmem-cell-names = "pre-calibration";
 | 
				
			||||||
	nvmem-cells = <&precal_art_5000>;
 | 
						nvmem-cells = <&precal_art_5000>;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&gmac {
 | 
				
			||||||
 | 
						status = "okay";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&switch {
 | 
				
			||||||
 | 
						status = "okay";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&swport4 {
 | 
				
			||||||
 | 
						status = "okay";
 | 
				
			||||||
 | 
						label = "eth1";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					&swport5 {
 | 
				
			||||||
 | 
						status = "okay";
 | 
				
			||||||
 | 
						label = "eth2";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -734,8 +734,7 @@ define Device/linksys_whw01
 | 
				
			|||||||
	IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=WHW01
 | 
						IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=WHW01
 | 
				
			||||||
	DEVICE_PACKAGES := uboot-envtools kmod-leds-pca963x
 | 
						DEVICE_PACKAGES := uboot-envtools kmod-leds-pca963x
 | 
				
			||||||
endef
 | 
					endef
 | 
				
			||||||
# Missing DSA Setup
 | 
					TARGET_DEVICES += linksys_whw01
 | 
				
			||||||
#TARGET_DEVICES += linksys_whw01
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
define Device/luma_wrtq-329acn
 | 
					define Device/luma_wrtq-329acn
 | 
				
			||||||
	$(call Device/FitImage)
 | 
						$(call Device/FitImage)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user