Author: blogic Date: 2015-09-14 22:07:23 +0200 (Mon, 14 Sep 2015) New Revision: 46913
Modified: trunk/target/linux/lantiq/patches-3.18/0039-MIPS-lantiq-initialize-usb-on-boot.patch trunk/target/linux/lantiq/patches-4.1/0039-MIPS-lantiq-initialize-usb-on-boot.patch Log: lantiq: Initialize USB on AR9 platform Based on the ltq-hcd driver the AR9 USB can be initialized the same way as the VR9 platform. Use the same initialization bits for both platforms. Signed-off-by: Antti Sepp?\195?\164l?\195?\164 <[email protected]> Modified: trunk/target/linux/lantiq/patches-3.18/0039-MIPS-lantiq-initialize-usb-on-boot.patch =================================================================== --- trunk/target/linux/lantiq/patches-3.18/0039-MIPS-lantiq-initialize-usb-on-boot.patch 2015-09-14 16:57:03 UTC (rev 46912) +++ trunk/target/linux/lantiq/patches-3.18/0039-MIPS-lantiq-initialize-usb-on-boot.patch 2015-09-14 20:07:23 UTC (rev 46913) @@ -84,11 +84,12 @@ static int __init mips_reboot_setup(void) { struct resource res; -@@ -223,6 +293,9 @@ static int __init mips_reboot_setup(void +@@ -223,6 +293,10 @@ static int __init mips_reboot_setup(void if (!ltq_rcu_membase) panic("Failed to remap core memory"); -+ if (of_machine_is_compatible("lantiq,vr9")) ++ if (of_machine_is_compatible("lantiq,ar9") || ++ of_machine_is_compatible("lantiq,vr9")) + ltq_usb_init(); + _machine_restart = ltq_machine_restart; Modified: trunk/target/linux/lantiq/patches-4.1/0039-MIPS-lantiq-initialize-usb-on-boot.patch =================================================================== --- trunk/target/linux/lantiq/patches-4.1/0039-MIPS-lantiq-initialize-usb-on-boot.patch 2015-09-14 16:57:03 UTC (rev 46912) +++ trunk/target/linux/lantiq/patches-4.1/0039-MIPS-lantiq-initialize-usb-on-boot.patch 2015-09-14 20:07:23 UTC (rev 46913) @@ -84,11 +84,12 @@ static int __init mips_reboot_setup(void) { struct resource res; -@@ -223,6 +293,9 @@ static int __init mips_reboot_setup(void +@@ -223,6 +293,10 @@ static int __init mips_reboot_setup(void if (!ltq_rcu_membase) panic("Failed to remap core memory"); -+ if (of_machine_is_compatible("lantiq,vr9")) ++ if (of_machine_is_compatible("lantiq,ar9") || ++ of_machine_is_compatible("lantiq,vr9")) + ltq_usb_init(); + _machine_restart = ltq_machine_restart; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
