diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/tcc780x/cowond2/power-cowond2.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc780x/cowond2/power-cowond2.c b/firmware/target/arm/tcc780x/cowond2/power-cowond2.c index f18b443e8b..b1fd56d980 100644 --- a/firmware/target/arm/tcc780x/cowond2/power-cowond2.c +++ b/firmware/target/arm/tcc780x/cowond2/power-cowond2.c | |||
@@ -42,7 +42,11 @@ bool ide_powered(void) | |||
42 | 42 | ||
43 | void power_off(void) | 43 | void power_off(void) |
44 | { | 44 | { |
45 | #warning function not implemented | 45 | /* Disable interrupts on this core */ |
46 | set_interrupt_status(IRQ_FIQ_DISABLED, IRQ_FIQ_STATUS); | ||
47 | |||
48 | /* Shutdown: stop XIN oscillator */ | ||
49 | CLKCTRL &= ~(1 << 31); | ||
46 | } | 50 | } |
47 | 51 | ||
48 | #else /* SIMULATOR */ | 52 | #else /* SIMULATOR */ |