Browse files

Added power off message to allow kexec to work. Thanks lp0

  • Loading branch information...
1 parent 9efb470 commit 07800e787edbea6f1c5d65e294b8cae85e81db76 @popcornmix popcornmix committed May 26, 2012
Showing with 11 additions and 0 deletions.
  1. +1 −0 arch/arm/mach-bcm2708/power.c
  2. +10 −0 arch/arm/mach-bcm2708/power.c.rej
View
1 arch/arm/mach-bcm2708/power.c
@@ -161,6 +161,7 @@ static int __init bcm_power_init(void)
int i;
printk(KERN_INFO "bcm_power: Broadcom power driver\n");
+ bcm_mailbox_write(MBOX_CHAN_POWER, 0);
for (i = 0; i < BCM_POWER_MAXCLIENTS; i++)
g_state.client_request[i] = BCM_POWER_NOCLIENT;
View
10 arch/arm/mach-bcm2708/power.c.rej
@@ -0,0 +1,10 @@
+--- arch/arm/mach-bcm2708/power.c
++++ arch/arm/mach-bcm2708/power.c
+@@ -163,6 +163,7 @@
+ int i;
+
+ printk(KERN_INFO "bcm_power: Broadcom power driver\n");
++ bcm_mailbox_write(MBOX_CHAN_POWER, 0);
+
+ for (i = 0; i < BCM_POWER_MAXCLIENTS; i++)
+ g_state.client_request[i] = BCM_POWER_NOCLIENT;

0 comments on commit 07800e7

Please sign in to comment.