44847e017b9d5ddea0c45588af6daca8fbbc38a3
[AGL/meta-agl.git] / meta-agl-bsp / meta-raspberrypi / recipes-bsp / u-boot / u-boot-2019.07 / 0005-arm-bcm283x-Include-definition-for-additional-emmc-c.patch
1 From fd99a249e6faf234066a6b5da2ed34aaead3d6d9 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 so have this included in the relevant
8 header file.
9
10 Signed-off-by: Andrei Gherzan <andrei@balena.io>
11 Upstream-status: Pending
12 ---
13  arch/arm/mach-bcm283x/include/mach/mbox.h | 1 +
14  1 file changed, 1 insertion(+)
15
16 diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h
17 index e44c7577da..f2a98acddd 100644
18 --- a/arch/arm/mach-bcm283x/include/mach/mbox.h
19 +++ b/arch/arm/mach-bcm283x/include/mach/mbox.h
20 @@ -230,6 +230,7 @@ struct bcm2835_mbox_tag_set_power_state {
21  #define BCM2835_MBOX_CLOCK_ID_SDRAM    8
22  #define BCM2835_MBOX_CLOCK_ID_PIXEL    9
23  #define BCM2835_MBOX_CLOCK_ID_PWM      10
24 +#define BCM2835_MBOX_CLOCK_ID_EMMC2    12
25  
26  struct bcm2835_mbox_tag_get_clock_rate {
27         struct bcm2835_mbox_tag_hdr tag_hdr;
28 -- 
29 2.22.0
30