ar71xx: use phy0tpt trigger for the WLAN LEDs
[openwrt.git] / target / linux / au1000 / patches-2.6.37 / 004-fix_reboot.patch
1 --- a/arch/mips/alchemy/mtx-1/board_setup.c
2 +++ b/arch/mips/alchemy/mtx-1/board_setup.c
3 @@ -54,8 +54,8 @@ int mtx1_pci_idsel(unsigned int devsel,
4
5 static void mtx1_reset(char *c)
6 {
7 - /* Hit BCSR.SYSTEM_CONTROL[SW_RST] */
8 - au_writel(0x00000000, 0xAE00001C);
9 + /* Jump to the reset vector */
10 + __asm__ __volatile__("jr\t%0"::"r"(0xbfc00000));
11 }
12
13 static void mtx1_power_off(void)
This page took 0.041649 seconds and 5 git commands to generate.