diff mbox series

[2/2] rpi: Add identifier for the new RPi3 B+

Message ID 20180315140537.9818-2-agraf@suse.de
State Accepted
Commit 7fe77226aa29f517ec4b503df784164c0183bae6
Headers show
Series [1/2] rpi3: Enable lan78xx driver | expand

Commit Message

Alexander Graf March 15, 2018, 2:05 p.m. UTC
The Raspberr Pi Foundation released a new RPi3 version which we want
to detect as well, so we can enable ethernet on it and know the correct
device tree file name.

Add an identifier for it.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 board/raspberrypi/rpi/rpi.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Alexander Graf April 5, 2018, 9:44 a.m. UTC | #1
> The Raspberr Pi Foundation released a new RPi3 version which we want
> to detect as well, so we can enable ethernet on it and know the correct
> device tree file name.
> 
> Add an identifier for it.
> 
> Signed-off-by: Alexander Graf <agraf@suse.de>

Thanks, applied to efi-next

Alex
diff mbox series

Patch

diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 177f4af265..279a9c3cda 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -111,6 +111,11 @@  static const struct rpi_model rpi_models_new_scheme[] = {
 		DTB_DIR "bcm2835-rpi-zero-w.dtb",
 		false,
 	},
+	[0xD] = {
+		"3 Model B+",
+		DTB_DIR "bcm2837-rpi-3-b-plus.dtb",
+		true,
+	},
 };
 
 static const struct rpi_model rpi_models_old_scheme[] = {