diff mbox

[U-Boot] ARM: bcm2835: fix mbox POWER_STATE_RESP_ON value

Message ID 1391658145-10309-1-git-send-email-swarren@wwwdotorg.org
State Accepted
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Stephen Warren Feb. 6, 2014, 3:42 a.m. UTC
Typo: The correct value is 1 not 2.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
 arch/arm/include/asm/arch-bcm2835/mbox.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Albert ARIBAUD Feb. 14, 2014, 7 a.m. UTC | #1
Hi Stephen,

On Wed,  5 Feb 2014 20:42:25 -0700, Stephen Warren
<swarren@wwwdotorg.org> wrote:

> Typo: The correct value is 1 not 2.
> 
> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
> ---
>  arch/arm/include/asm/arch-bcm2835/mbox.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/include/asm/arch-bcm2835/mbox.h b/arch/arm/include/asm/arch-bcm2835/mbox.h
> index 38cb42a..dded857 100644
> --- a/arch/arm/include/asm/arch-bcm2835/mbox.h
> +++ b/arch/arm/include/asm/arch-bcm2835/mbox.h
> @@ -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,
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-bcm2835/mbox.h b/arch/arm/include/asm/arch-bcm2835/mbox.h
index 38cb42a..dded857 100644
--- a/arch/arm/include/asm/arch-bcm2835/mbox.h
+++ b/arch/arm/include/asm/arch-bcm2835/mbox.h
@@ -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)