public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: rpi: add another revision of Raspberry Pi A+
@ 2015-10-14 15:17 Lubomir Rintel
  2015-10-19  5:46 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: Lubomir Rintel @ 2015-10-14 15:17 UTC (permalink / raw)
  To: u-boot

Seen this one in the wild. Is labelled "Raspberry Pi Model A+ V1.1,
(C) Raspberry Pi 2014". A standard A+ board, much like the one with
version 0x12, didn't notice any differencies.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
 arch/arm/mach-bcm283x/include/mach/mbox.h | 1 +
 board/raspberrypi/rpi/rpi.c               | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h
index ff959c8..9260ee2 100644
--- a/arch/arm/mach-bcm283x/include/mach/mbox.h
+++ b/arch/arm/mach-bcm283x/include/mach/mbox.h
@@ -150,6 +150,7 @@ struct bcm2835_mbox_tag_hdr {
 #define BCM2835_BOARD_REV_A_PLUS	0x12
 #define BCM2835_BOARD_REV_B_PLUS_13	0x13
 #define BCM2835_BOARD_REV_CM_14		0x14
+#define BCM2835_BOARD_REV_A_PLUS_15	0x15
 #endif
 
 struct bcm2835_mbox_tag_get_board_rev {
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 6d7be11..942badb 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -176,6 +176,11 @@ static const struct {
 		"bcm2835-rpi-cm.dtb",
 		false,
 	},
+	[BCM2835_BOARD_REV_A_PLUS_15] = {
+		"Model A+",
+		"bcm2835-rpi-a-plus.dtb",
+		false,
+	},
 #endif
 };
 
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] ARM: rpi: add another revision of Raspberry Pi A+
  2015-10-14 15:17 [U-Boot] [PATCH] ARM: rpi: add another revision of Raspberry Pi A+ Lubomir Rintel
@ 2015-10-19  5:46 ` Albert ARIBAUD
  0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2015-10-19  5:46 UTC (permalink / raw)
  To: u-boot

Hello Lubomir,

On Wed, 14 Oct 2015 17:17:54 +0200, Lubomir Rintel <lkundrak@v3.sk> wrote:
> Seen this one in the wild. Is labelled "Raspberry Pi Model A+ V1.1,
> (C) Raspberry Pi 2014". A standard A+ board, much like the one with
> version 0x12, didn't notice any differencies.
> 
> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
> ---
>  arch/arm/mach-bcm283x/include/mach/mbox.h | 1 +
>  board/raspberrypi/rpi/rpi.c               | 5 +++++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h
> index ff959c8..9260ee2 100644
> --- a/arch/arm/mach-bcm283x/include/mach/mbox.h
> +++ b/arch/arm/mach-bcm283x/include/mach/mbox.h
> @@ -150,6 +150,7 @@ struct bcm2835_mbox_tag_hdr {
>  #define BCM2835_BOARD_REV_A_PLUS	0x12
>  #define BCM2835_BOARD_REV_B_PLUS_13	0x13
>  #define BCM2835_BOARD_REV_CM_14		0x14
> +#define BCM2835_BOARD_REV_A_PLUS_15	0x15
>  #endif
>  
>  struct bcm2835_mbox_tag_get_board_rev {
> diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
> index 6d7be11..942badb 100644
> --- a/board/raspberrypi/rpi/rpi.c
> +++ b/board/raspberrypi/rpi/rpi.c
> @@ -176,6 +176,11 @@ static const struct {
>  		"bcm2835-rpi-cm.dtb",
>  		false,
>  	},
> +	[BCM2835_BOARD_REV_A_PLUS_15] = {
> +		"Model A+",
> +		"bcm2835-rpi-a-plus.dtb",
> +		false,
> +	},
>  #endif
>  };
>  
> -- 
> 2.4.3
> 

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

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-19  5:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-14 15:17 [U-Boot] [PATCH] ARM: rpi: add another revision of Raspberry Pi A+ Lubomir Rintel
2015-10-19  5:46 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox