diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-18 13:30:32 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-18 15:20:46 +0100 |
commit | fb6ec0aabf272eca1cf57e910cebe3532f1cafd8 (patch) | |
tree | 95a06d0a1b8d3aed9be2c6be20c20c92c5898de2 /recipes-bsp/u-boot/u-boot-2019.07/0008-arm-bcm283x-Include-definition-for-additional-emmc-c.patch | |
parent | 570bed8acfbaf2dfd99469909a6f01e5b9b3caed (diff) | |
download | meta-raspberrypi-ag/rpi4-misc.tar.gz |
u-boot: Replace custom fork by patchesag/rpi4-misc
The upstream branch might suffer rebases due to effort of pushing the
patches upstream. To avoid issues, let's have here the patches we need
for RPi 4 support.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-2019.07/0008-arm-bcm283x-Include-definition-for-additional-emmc-c.patch')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-2019.07/0008-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/0008-arm-bcm283x-Include-definition-for-additional-emmc-c.patch b/recipes-bsp/u-boot/u-boot-2019.07/0008-arm-bcm283x-Include-definition-for-additional-emmc-c.patch new file mode 100644 index 0000000..546e786 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-2019.07/0008-arm-bcm283x-Include-definition-for-additional-emmc-c.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From cb85ecba76fde3c96007eae9eda58a083f177333 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 08/12] 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 2d711daaa8..cad035e8cd 100644 | ||
20 | --- a/arch/arm/mach-bcm283x/include/mach/mbox.h | ||
21 | +++ b/arch/arm/mach-bcm283x/include/mach/mbox.h | ||
22 | @@ -239,6 +239,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 | |||