summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc780x/cowond2/power-cowond2.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2008-02-16 12:47:42 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2008-02-16 12:47:42 +0000
commit55e7f11c446f31fdc1816b2202de47190705644f (patch)
tree110f31db64f31906a787b0eb13b692fefd39519d /firmware/target/arm/tcc780x/cowond2/power-cowond2.c
parent868fcce96cf0a131daa615afe87ea8a2287304bd (diff)
I need to overwork this - sorry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16318 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc780x/cowond2/power-cowond2.c')
-rw-r--r--firmware/target/arm/tcc780x/cowond2/power-cowond2.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/firmware/target/arm/tcc780x/cowond2/power-cowond2.c b/firmware/target/arm/tcc780x/cowond2/power-cowond2.c
index 2439676acc..f18b443e8b 100644
--- a/firmware/target/arm/tcc780x/cowond2/power-cowond2.c
+++ b/firmware/target/arm/tcc780x/cowond2/power-cowond2.c
@@ -59,22 +59,6 @@ void charger_enable(bool on)
void power_off(void)
{
- /* Disable interrupts on this core */
- set_interrupt_status(IRQ_FIQ_DISABLED, IRQ_FIQ_STATUS);
-
- /* Mask them on both cores */
- CPU_INT_CLR = -1;
- COP_INT_CLR = -1;
-
- /* Shutdown: stop XIN oscillator */
- CLKCTRL &= ~(1 << 31);
-
- /* Halt everything and wait for device to power off */
- while (1)
- {
- CPU_CTL = PROC_SLEEP;
- COP_CTL = PROC_SLEEP;
- }
}
void ide_power_enable(bool on)