diff mbox series

[U-Boot,v2] rpi: add Compute Module 3+

Message ID 20190130222444.6175-1-jsg@jsg.id.au
State Accepted
Commit 7e2ae620e15ef578b8f2812ec21ec07fae6c1e2f
Delegated to: Alexander Graf
Headers show
Series [U-Boot,v2] rpi: add Compute Module 3+ | expand

Commit Message

Jonathan Gray Jan. 30, 2019, 10:24 p.m. UTC
Add Raspberry Pi Compute Module 3+ to list of models, the revision code
is 0x10 according to the list on raspberrypi.org.

v2: Use the same dtb name as CM3 as CM3+ is a drop in replacement
    for CM3.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
---
 board/raspberrypi/rpi/rpi.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Alexander Graf Feb. 14, 2019, 1:43 p.m. UTC | #1
On 30.01.19 23:24, Jonathan Gray wrote:
> Add Raspberry Pi Compute Module 3+ to list of models, the revision code
> is 0x10 according to the list on raspberrypi.org.
> 
> v2: Use the same dtb name as CM3 as CM3+ is a drop in replacement
>     for CM3.
> 
> Signed-off-by: Jonathan Gray <jsg@jsg.id.au>

Reviewed-by: Alexander Graf <agraf@suse.de>


Alex

> ---
>  board/raspberrypi/rpi/rpi.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
> index 153a1fdcb7..617c892dde 100644
> --- a/board/raspberrypi/rpi/rpi.c
> +++ b/board/raspberrypi/rpi/rpi.c
> @@ -143,6 +143,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
>  		DTB_DIR "bcm2837-rpi-3-a-plus.dtb",
>  		false,
>  	},
> +	[0x10] = {
> +		"Compute Module 3+",
> +		DTB_DIR "bcm2837-rpi-cm3.dtb",
> +		false,
> +	},
>  };
>  
>  static const struct rpi_model rpi_models_old_scheme[] = {
>
diff mbox series

Patch

diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 153a1fdcb7..617c892dde 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -143,6 +143,11 @@  static const struct rpi_model rpi_models_new_scheme[] = {
 		DTB_DIR "bcm2837-rpi-3-a-plus.dtb",
 		false,
 	},
+	[0x10] = {
+		"Compute Module 3+",
+		DTB_DIR "bcm2837-rpi-cm3.dtb",
+		false,
+	},
 };
 
 static const struct rpi_model rpi_models_old_scheme[] = {