aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/momentum
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/momentum')
-rw-r--r--arch/mips/momentum/jaguar_atx/reset.c2
-rw-r--r--arch/mips/momentum/jaguar_atx/setup.c2
-rw-r--r--arch/mips/momentum/ocelot_3/reset.c2
-rw-r--r--arch/mips/momentum/ocelot_c/reset.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/momentum/jaguar_atx/reset.c b/arch/mips/momentum/jaguar_atx/reset.c
index c4236b1e59fa..ce9fb2e3d952 100644
--- a/arch/mips/momentum/jaguar_atx/reset.c
+++ b/arch/mips/momentum/jaguar_atx/reset.c
@@ -32,7 +32,7 @@ void momenco_jaguar_restart(char *command)
32#else 32#else
33 void *nvram = (void*) 0xfc807000; 33 void *nvram = (void*) 0xfc807000;
34#endif 34#endif
35 /* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */ 35 /* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
36 writeb(0x84, nvram + 0xff7); 36 writeb(0x84, nvram + 0xff7);
37 37
38 /* wait for the watchdog to go off */ 38 /* wait for the watchdog to go off */
diff --git a/arch/mips/momentum/jaguar_atx/setup.c b/arch/mips/momentum/jaguar_atx/setup.c
index 2699917b640a..3784c898db1a 100644
--- a/arch/mips/momentum/jaguar_atx/setup.c
+++ b/arch/mips/momentum/jaguar_atx/setup.c
@@ -461,7 +461,7 @@ void __init plat_setup(void)
461 unsigned int tbControl; 461 unsigned int tbControl;
462 tbControl = 462 tbControl =
463 0 << 26 | /* post trigger delay 0 */ 463 0 << 26 | /* post trigger delay 0 */
464 0x2 << 16 | /* sequential trace mode */ 464 0x2 << 16 | /* sequential trace mode */
465 // 0x0 << 16 | /* non-sequential trace mode */ 465 // 0x0 << 16 | /* non-sequential trace mode */
466 // 0xf << 4 | /* watchpoints disabled */ 466 // 0xf << 4 | /* watchpoints disabled */
467 2 << 2 | /* armed */ 467 2 << 2 | /* armed */
diff --git a/arch/mips/momentum/ocelot_3/reset.c b/arch/mips/momentum/ocelot_3/reset.c
index 72b4423c0864..9d86d2468376 100644
--- a/arch/mips/momentum/ocelot_3/reset.c
+++ b/arch/mips/momentum/ocelot_3/reset.c
@@ -34,7 +34,7 @@ void momenco_ocelot_restart(char *command)
34 /* base address of timekeeper portion of part */ 34 /* base address of timekeeper portion of part */
35 void *nvram = (void *) 0xfc807000L; 35 void *nvram = (void *) 0xfc807000L;
36 36
37 /* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */ 37 /* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
38 writeb(0x84, nvram + 0xff7); 38 writeb(0x84, nvram + 0xff7);
39 39
40 /* wait for the watchdog to go off */ 40 /* wait for the watchdog to go off */
diff --git a/arch/mips/momentum/ocelot_c/reset.c b/arch/mips/momentum/ocelot_c/reset.c
index 6a2489f3b9a0..9dcd154c7767 100644
--- a/arch/mips/momentum/ocelot_c/reset.c
+++ b/arch/mips/momentum/ocelot_c/reset.c
@@ -34,7 +34,7 @@ void momenco_ocelot_restart(char *command)
34 0xfc807000; 34 0xfc807000;
35#endif 35#endif
36 36
37 /* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */ 37 /* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
38 writeb(0x84, nvram + 0xff7); 38 writeb(0x84, nvram + 0xff7);
39 39
40 /* wait for the watchdog to go off */ 40 /* wait for the watchdog to go off */