Skip to contentSkip to conversation

ARM: bcm2835: fix mbox POWER_STATE_RESP_ON value

PATCH New Stephen Warren 2 participants 2 messages Feb 6, 2014 – Feb 14, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: bcm2835: fix mbox POWER_STATE_RESP_ON value

Typo: The correct value is 1 not 2.

---
 arch/arm/include/asm/arch-bcm2835/mbox.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/include/asm/arch-bcm2835/mbox.h +1 -1
index 38cb42a..dded857 100644
@@ -143,7 +143,7 @@ struct bcm2835_mbox_tag_get_arm_mem {
 #define BCM2835_MBOX_POWER_DEVID_SPI		7
 #define BCM2835_MBOX_POWER_DEVID_CCP2TX		8
 
-#define BCM2835_MBOX_POWER_STATE_RESP_ON	(1 << 1)
+#define BCM2835_MBOX_POWER_STATE_RESP_ON	(1 << 0)
 /* Device doesn't exist */
 #define BCM2835_MBOX_POWER_STATE_RESP_NODEV	(1 << 1)
 
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 ARM: bcm2835: fix mbox POWER_STATE_RESP_ON value

Hi Stephen,

Quoted 12 lines · Stephen Warren

Typo: The correct value is 1 not 2.

---
 arch/arm/include/asm/arch-bcm2835/mbox.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/include/asm/arch-bcm2835/mbox.h +0 -0
index 38cb42a..dded857 100644

arch/arm/include/asm/arch-bcm2835/mbox.h struct bcm2835_mbox_tag_get_arm_mem { · line 149

Quoted 8 lines
arch/arm/include/asm/arch-bcm2835/mbox.h +1 -1
@@ -143,7 +143,7 @@ struct bcm2835_mbox_tag_get_arm_mem {
 #define BCM2835_MBOX_POWER_DEVID_SPI		7
 #define BCM2835_MBOX_POWER_DEVID_CCP2TX		8
 
-#define BCM2835_MBOX_POWER_STATE_RESP_ON	(1 << 1)
+#define BCM2835_MBOX_POWER_STATE_RESP_ON	(1 << 0)
 /* Device doesn't exist */
 #define BCM2835_MBOX_POWER_STATE_RESP_NODEV	(1 << 1)
 

Applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.