summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/samsung/power-yh82x_yh92x.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/firmware/target/arm/samsung/power-yh82x_yh92x.c b/firmware/target/arm/samsung/power-yh82x_yh92x.c
index b6c18c5fd0..aed8817f2a 100644
--- a/firmware/target/arm/samsung/power-yh82x_yh92x.c
+++ b/firmware/target/arm/samsung/power-yh82x_yh92x.c
@@ -98,13 +98,8 @@ bool ide_powered(void)
98 98
99void power_off(void) 99void power_off(void)
100{ 100{
101 /* Disable interrupts on this core */ 101 /* power off bit */
102 disable_interrupt(IRQ_FIQ_STATUS); 102 GPIOK_ENABLE |= 0x40;
103 103 GPIOK_OUTPUT_VAL &= ~0x40;
104 /* Mask them on both cores */ 104 GPIOK_OUTPUT_EN |= 0x40;
105 CPU_INT_DIS = -1;
106 COP_INT_DIS = -1;
107
108 while (1)
109 DEV_RS = -1;
110} 105}