mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-11 17:34:57 +00:00
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älä <a.seppala@gmail.com> SVN-Revision: 46913
This commit is contained in:
parent
fb3fb9b6c1
commit
1f4124ceb0
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user