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/0005-arm-mach-bcm283x-Define-mbox-address-for-BCM2838.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/0005-arm-mach-bcm283x-Define-mbox-address-for-BCM2838.patch')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-2019.07/0005-arm-mach-bcm283x-Define-mbox-address-for-BCM2838.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2019.07/0005-arm-mach-bcm283x-Define-mbox-address-for-BCM2838.patch b/recipes-bsp/u-boot/u-boot-2019.07/0005-arm-mach-bcm283x-Define-mbox-address-for-BCM2838.patch new file mode 100644 index 0000000..a7def93 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-2019.07/0005-arm-mach-bcm283x-Define-mbox-address-for-BCM2838.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 32546abed12ff4c9b8b1480b31e6306bec876218 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrei Gherzan <andrei@balena.io> | ||
3 | Date: Wed, 17 Jul 2019 15:34:07 +0100 | ||
4 | Subject: [PATCH 05/12] arm: mach-bcm283x: Define mbox address for BCM2838 | ||
5 | |||
6 | Signed-off-by: Andrei Gherzan <andrei@balena.io> | ||
7 | Upstream-status: Pending | ||
8 | --- | ||
9 | arch/arm/mach-bcm283x/include/mach/mbox.h | 5 +++++ | ||
10 | 1 file changed, 5 insertions(+) | ||
11 | |||
12 | diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h | ||
13 | index e3a893e49c..2d711daaa8 100644 | ||
14 | --- a/arch/arm/mach-bcm283x/include/mach/mbox.h | ||
15 | +++ b/arch/arm/mach-bcm283x/include/mach/mbox.h | ||
16 | @@ -38,11 +38,16 @@ | ||
17 | /* Raw mailbox HW */ | ||
18 | |||
19 | #ifndef CONFIG_BCM2835 | ||
20 | +#ifdef CONFIG_BCM2838 | ||
21 | +#define BCM2835_MBOX_PHYSADDR 0xfe00b880 | ||
22 | +#else | ||
23 | #define BCM2835_MBOX_PHYSADDR 0x3f00b880 | ||
24 | +#endif | ||
25 | #else | ||
26 | #define BCM2835_MBOX_PHYSADDR 0x2000b880 | ||
27 | #endif | ||
28 | |||
29 | + | ||
30 | struct bcm2835_mbox_regs { | ||
31 | u32 read; | ||
32 | u32 rsvd0[5]; | ||
33 | -- | ||
34 | 2.22.0 | ||
35 | |||