[U-Boot] [PATCH 07/16] arm: bcm283x: Include definition for additional emmc clock

andrei at gherzan.ro andrei at gherzan.ro
Tue Jul 16 13:37:54 UTC 2019


From: Andrei Gherzan <andrei at balena.io>

This clock has a different mbox ID[1] so have this included in the
relevant header file.

[1] https://github.com/raspberrypi/firmware/issues/1179

Signed-off-by: Andrei Gherzan <andrei at balena.io>
---
 arch/arm/mach-bcm283x/include/mach/mbox.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h
index 2d711daaa8..cad035e8cd 100644
--- a/arch/arm/mach-bcm283x/include/mach/mbox.h
+++ b/arch/arm/mach-bcm283x/include/mach/mbox.h
@@ -239,6 +239,7 @@ struct bcm2835_mbox_tag_set_power_state {
 #define BCM2835_MBOX_CLOCK_ID_SDRAM	8
 #define BCM2835_MBOX_CLOCK_ID_PIXEL	9
 #define BCM2835_MBOX_CLOCK_ID_PWM	10
+#define BCM2835_MBOX_CLOCK_ID_EMMC2	12
 
 struct bcm2835_mbox_tag_get_clock_rate {
 	struct bcm2835_mbox_tag_hdr tag_hdr;
-- 
2.22.0



More information about the U-Boot mailing list