blob: 7309d2b22804c0d38c319dace8c15bc81520269f [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001From 12fbbd5bc12e225b19d3b4cb193a1bf3d9fa752a Mon Sep 17 00:00:00 2001
2From: Andrei Gherzan <andrei@balena.io>
3Date: Wed, 17 Jul 2019 15:34:18 +0100
4Subject: [PATCH 4/7] rpi: Add entry for Raspberry Pi 4 model B
5
6The Raspebrry Pi 4 uses the new revision code scheme as documented by
7the foundation. This change adds an entry for this board as well.
8
9Signed-off-by: Andrei Gherzan <andrei@balena.io>
10Upstream-status: Pending
11---
12 board/raspberrypi/rpi/rpi.c | 5 +++++
13 1 file changed, 5 insertions(+)
14
15diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
16index 617c892dde..92c6534da6 100644
17--- a/board/raspberrypi/rpi/rpi.c
18+++ b/board/raspberrypi/rpi/rpi.c
19@@ -148,6 +148,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
20 DTB_DIR "bcm2837-rpi-cm3.dtb",
21 false,
22 },
23+ [0x11] = {
24+ "4 Model B",
25+ DTB_DIR "bcm2838-rpi-4-b.dtb",
26+ true,
27+ },
28 };
29
30 static const struct rpi_model rpi_models_old_scheme[] = {
31--
322.22.0
33