diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-19 16:17:38 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-19 16:19:42 +0100 |
commit | 6531d1d0bb23f390066fe7cead2d95ad6ac4db72 (patch) | |
tree | 9ff35e976a9ec5f24f46168cd1931e948822e8fe /recipes-bsp/u-boot/u-boot-2019.07/0004-rpi-Add-entry-for-Raspberry-Pi-4-model-B.patch | |
parent | 03488c61599ddb8efdecd1a48c211d083ce4ea78 (diff) | |
download | meta-raspberrypi-ag/rpi4-uboot-update.tar.gz |
u-boot: Update patches for RPi4ag/rpi4-uboot-update
After a review in upstream, some of the patches were modified. Most
notable changes:
1. use directly the dtb passed by the firmware and make sure uboot
doesn't tweak memory/reg
2. remove known unimplemented support (usb, eth etc.)
3. drop patches that are not needed anymore with the new firmware update
(for example 0012-bcm283x-mbox-Correctly-wait-for-space-to-send.patch)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-2019.07/0004-rpi-Add-entry-for-Raspberry-Pi-4-model-B.patch')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-2019.07/0004-rpi-Add-entry-for-Raspberry-Pi-4-model-B.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2019.07/0004-rpi-Add-entry-for-Raspberry-Pi-4-model-B.patch b/recipes-bsp/u-boot/u-boot-2019.07/0004-rpi-Add-entry-for-Raspberry-Pi-4-model-B.patch new file mode 100644 index 0000000..3eb5b33 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-2019.07/0004-rpi-Add-entry-for-Raspberry-Pi-4-model-B.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 33adefd1a3a8ad644b0f38258723c17672029cfa 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[1]. This change adds an entry for this board as well. | ||
8 | |||
9 | [1] https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md | ||
10 | |||
11 | Signed-off-by: Andrei Gherzan <andrei@balena.io> | ||
12 | Upstream-status: Pending | ||
13 | --- | ||
14 | board/raspberrypi/rpi/rpi.c | 5 +++++ | ||
15 | 1 file changed, 5 insertions(+) | ||
16 | |||
17 | diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c | ||
18 | index 617c892dde..92c6534da6 100644 | ||
19 | --- a/board/raspberrypi/rpi/rpi.c | ||
20 | +++ b/board/raspberrypi/rpi/rpi.c | ||
21 | @@ -148,6 +148,11 @@ static const struct rpi_model rpi_models_new_scheme[] = { | ||
22 | DTB_DIR "bcm2837-rpi-cm3.dtb", | ||
23 | false, | ||
24 | }, | ||
25 | + [0x11] = { | ||
26 | + "4 Model B", | ||
27 | + DTB_DIR "bcm2838-rpi-4-b.dtb", | ||
28 | + true, | ||
29 | + }, | ||
30 | }; | ||
31 | |||
32 | static const struct rpi_model rpi_models_old_scheme[] = { | ||
33 | -- | ||
34 | 2.22.0 | ||
35 | |||