mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
f036956e1f
This adds USB initialization fixes for Danube, Amazon SE and xrx300 and should fix the clock on at least Danube which hopefully closes FS#351. The xrx200 usb driver now uses more memory for the dwc2 fifos, this was increased in the chip compared to ar9. This is based in part on the vendor documentation and the vendor code base as a reference. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
24 lines
506 B
Diff
24 lines
506 B
Diff
--- a/arch/mips/lantiq/xway/reset.c
|
|
+++ b/arch/mips/lantiq/xway/reset.c
|
|
@@ -301,12 +301,6 @@ static void ltq_machine_halt(void)
|
|
unreachable();
|
|
}
|
|
|
|
-static void ltq_machine_power_off(void)
|
|
-{
|
|
- local_irq_disable();
|
|
- unreachable();
|
|
-}
|
|
-
|
|
static void ltq_usb_init(void)
|
|
{
|
|
/* Power for USB cores 1 & 2 */
|
|
@@ -379,7 +373,6 @@ static int __init mips_reboot_setup(void
|
|
|
|
_machine_restart = ltq_machine_restart;
|
|
_machine_halt = ltq_machine_halt;
|
|
- pm_power_off = ltq_machine_power_off;
|
|
|
|
return 0;
|
|
}
|