* adds arv4518pw mach support * fixes arv4525pw * make sure all mach names have the same style * move code around

SVN-Revision: 25075
This commit is contained in:
John Crispin
2011-01-23 19:16:33 +00:00
parent a8819fd220
commit a15b4bf6fc
5 changed files with 216 additions and 126 deletions

View File

@@ -15603,29 +15603,3 @@
+extern void __init xway_register_dwc(int pin);
+
+#endif
--- a/arch/mips/lantiq/xway/mach-arv45xx.c
+++ b/arch/mips/lantiq/xway/mach-arv45xx.c
@@ -23,6 +23,7 @@
#include <lantiq_platform.h>
#include "devices.h"
+#include "dev-dwc_otg.h"
#define ARV452_LATCH_SWITCH (1 << 10)
#define ARV752DPW22_LATCH_DEFAULT (2)
@@ -195,6 +196,7 @@
lq_register_pci(&lq_pci_data);
lq_register_wdt();
arv45xx_register_ethernet();
+ xway_register_dwc(14);
}
MIPS_MACHINE(LANTIQ_MACH_ARV4518,
@@ -214,6 +216,7 @@
lq_register_pci(&lq_pci_data);
lq_register_wdt();
arv45xx_register_ethernet();
+ xway_register_dwc(28);
}
MIPS_MACHINE(LANTIQ_MACH_ARV452,