Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 1 | From 12fbbd5bc12e225b19d3b4cb193a1bf3d9fa752a Mon Sep 17 00:00:00 2001 |
| 2 | From: Andrei Gherzan <andrei@balena.io> |
| 3 | Date: Wed, 17 Jul 2019 15:34:18 +0100 |
| 4 | Subject: [PATCH 4/7] rpi: Add entry for Raspberry Pi 4 model B |
| 5 | |
| 6 | The Raspebrry Pi 4 uses the new revision code scheme as documented by |
| 7 | the foundation. This change adds an entry for this board as well. |
| 8 | |
| 9 | Signed-off-by: Andrei Gherzan <andrei@balena.io> |
| 10 | Upstream-status: Pending |
| 11 | --- |
| 12 | board/raspberrypi/rpi/rpi.c | 5 +++++ |
| 13 | 1 file changed, 5 insertions(+) |
| 14 | |
| 15 | diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c |
| 16 | index 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 | -- |
| 32 | 2.22.0 |
| 33 | |