[U-Boot,05/16] rpi: Add rpi_model entry for RaspberryPi 4
diff mbox series

Message ID 20190716133803.1174-6-andrei@gherzan.ro
State Superseded
Delegated to: Matthias Brugger
Headers show
Series
  • Raspberry Pi 32/64 support
Related show

Commit Message

Andrei Gherzan July 16, 2019, 1:37 p.m. UTC
From: Andrei Gherzan <andrei@gherzan.ro>

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 board/raspberrypi/rpi/rpi.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Matthias Brugger July 16, 2019, 2:31 p.m. UTC | #1
On 16/07/2019 15:37, andrei@gherzan.ro wrote:
> From: Andrei Gherzan <andrei@gherzan.ro>
> 
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>

Commit message missing.

> ---
>  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 617c892dde..6d6f1ef39a 100644
> --- a/board/raspberrypi/rpi/rpi.c
> +++ b/board/raspberrypi/rpi/rpi.c
> @@ -148,6 +148,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
>  		DTB_DIR "bcm2837-rpi-cm3.dtb",
>  		false,
>  	},
> +	[0x11] = {
> +		"4 Model B",
> +		DTB_DIR "bcm2711-rpi-4-b.dtb",
> +		true,
> +	},
>  };
>  
>  static const struct rpi_model rpi_models_old_scheme[] = {
>

Patch
diff mbox series

diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 617c892dde..6d6f1ef39a 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -148,6 +148,11 @@  static const struct rpi_model rpi_models_new_scheme[] = {
 		DTB_DIR "bcm2837-rpi-cm3.dtb",
 		false,
 	},
+	[0x11] = {
+		"4 Model B",
+		DTB_DIR "bcm2711-rpi-4-b.dtb",
+		true,
+	},
 };
 
 static const struct rpi_model rpi_models_old_scheme[] = {