Rev 1004 | Rev 1480 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1004 | Rev 1269 | ||
|---|---|---|---|
| Line 69... | Line 69... | ||
| 69 | 69 | ||
| 70 | 70 | ||
| 71 | void cpu_halt(void) { |
71 | void cpu_halt(void) { |
| 72 | #ifdef CONFIG_POWEROFF |
72 | #ifdef CONFIG_POWEROFF |
| 73 | cuda_packet(CUDA_POWERDOWN); |
73 | cuda_packet(CUDA_POWERDOWN); |
| - | 74 | #else |
|
| - | 75 | asm volatile ( |
|
| - | 76 | "b 0\n" |
|
| - | 77 | ); |
|
| 74 | #endif |
78 | #endif |
| 75 | cpu_sleep(); |
79 | cpu_sleep(); |
| 76 | } |
80 | } |