aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/kernel/process.c')
-rw-r--r--arch/unicore32/kernel/process.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/unicore32/kernel/process.c b/arch/unicore32/kernel/process.c
index 8d4a273ae08..ba401df971e 100644
--- a/arch/unicore32/kernel/process.c
+++ b/arch/unicore32/kernel/process.c
@@ -125,9 +125,9 @@ void machine_restart(char *cmd)
125 /* Jump into ROM at address 0xffff0000 */ 125 /* Jump into ROM at address 0xffff0000 */
126 cpu_reset(VECTORS_BASE); 126 cpu_reset(VECTORS_BASE);
127 } else { 127 } else {
128 PM_PLLSYSCFG = 0x00002001; /* cpu clk = 250M */ 128 writel(0x00002001, PM_PLLSYSCFG); /* cpu clk = 250M */
129 PM_PLLDDRCFG = 0x00100800; /* ddr clk = 44M */ 129 writel(0x00100800, PM_PLLDDRCFG); /* ddr clk = 44M */
130 PM_PLLVGACFG = 0x00002001; /* vga clk = 250M */ 130 writel(0x00002001, PM_PLLVGACFG); /* vga clk = 250M */
131 131
132 /* Use on-chip reset capability */ 132 /* Use on-chip reset capability */
133 /* following instructions must be in one icache line */ 133 /* following instructions must be in one icache line */
@@ -141,10 +141,10 @@ void machine_restart(char *cmd)
141 " nop; nop; nop\n\t" 141 " nop; nop; nop\n\t"
142 /* prefetch 3 instructions at most */ 142 /* prefetch 3 instructions at most */
143 : 143 :
144 : "r" ((unsigned long)&PM_PMCR), 144 : "r" (PM_PMCR),
145 "r" (PM_PMCR_CFBSYS | PM_PMCR_CFBDDR 145 "r" (PM_PMCR_CFBSYS | PM_PMCR_CFBDDR
146 | PM_PMCR_CFBVGA), 146 | PM_PMCR_CFBVGA),
147 "r" ((unsigned long)&RESETC_SWRR), 147 "r" (RESETC_SWRR),
148 "r" (RESETC_SWRR_SRB) 148 "r" (RESETC_SWRR_SRB)
149 : "r0", "memory"); 149 : "r0", "memory");
150 } 150 }