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/0005-arm-bcm283x-Include-definition-for-additional-emmc-c.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/0005-arm-bcm283x-Include-definition-for-additional-emmc-c.patch')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-2019.07/0005-arm-bcm283x-Include-definition-for-additional-emmc-c.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2019.07/0005-arm-bcm283x-Include-definition-for-additional-emmc-c.patch b/recipes-bsp/u-boot/u-boot-2019.07/0005-arm-bcm283x-Include-definition-for-additional-emmc-c.patch new file mode 100644 index 0000000..8732762 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-2019.07/0005-arm-bcm283x-Include-definition-for-additional-emmc-c.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 89171b0aa2e0f02e9e56d1f47ac7722246c68bbd Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrei Gherzan <andrei@balena.io> | ||
3 | Date: Fri, 12 Jul 2019 11:26:10 +0100 | ||
4 | Subject: [PATCH 5/7] arm: bcm283x: Include definition for additional emmc | ||
5 | clock | ||
6 | |||
7 | This clock has a different mbox ID[1] so have this included in the | ||
8 | relevant header file. | ||
9 | |||
10 | [1] https://github.com/raspberrypi/firmware/issues/1179 | ||
11 | |||
12 | Signed-off-by: Andrei Gherzan <andrei@balena.io> | ||
13 | Upstream-status: Pending | ||
14 | --- | ||
15 | arch/arm/mach-bcm283x/include/mach/mbox.h | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h | ||
19 | index e44c7577da..f2a98acddd 100644 | ||
20 | --- a/arch/arm/mach-bcm283x/include/mach/mbox.h | ||
21 | +++ b/arch/arm/mach-bcm283x/include/mach/mbox.h | ||
22 | @@ -230,6 +230,7 @@ struct bcm2835_mbox_tag_set_power_state { | ||
23 | #define BCM2835_MBOX_CLOCK_ID_SDRAM 8 | ||
24 | #define BCM2835_MBOX_CLOCK_ID_PIXEL 9 | ||
25 | #define BCM2835_MBOX_CLOCK_ID_PWM 10 | ||
26 | +#define BCM2835_MBOX_CLOCK_ID_EMMC2 12 | ||
27 | |||
28 | struct bcm2835_mbox_tag_get_clock_rate { | ||
29 | struct bcm2835_mbox_tag_hdr tag_hdr; | ||
30 | -- | ||
31 | 2.22.0 | ||
32 | |||