mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: i.MX: Add i.MX5 debug functions
@ 2015-07-08 12:18 Sascha Hauer
  2015-07-08 12:18 ` [PATCH 2/2] ARM: vincell: move to DT probing Sascha Hauer
  2015-07-08 13:30 ` [PATCH 1/2] ARM: i.MX: Add i.MX5 debug functions Enrico Joerns
  0 siblings, 2 replies; 4+ messages in thread
From: Sascha Hauer @ 2015-07-08 12:18 UTC (permalink / raw)
  To: Barebox List

We recently introduced ungate_all_peripherals and SoC specific low
level UART init functions. Add some more for i.MX5 SoCs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/mach-imx/include/mach/debug_ll.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/mach-imx/include/mach/debug_ll.h b/arch/arm/mach-imx/include/mach/debug_ll.h
index ab939b3..f2f4768 100644
--- a/arch/arm/mach-imx/include/mach/debug_ll.h
+++ b/arch/arm/mach-imx/include/mach/debug_ll.h
@@ -75,6 +75,11 @@ static inline void imx51_uart_setup_ll(void)
 	__imx_uart_setup_ll(54000000);
 }
 
+static inline void imx53_uart_setup_ll(void)
+{
+	__imx_uart_setup_ll(66666666);
+}
+
 static inline void imx6_uart_setup_ll(void)
 {
 	__imx_uart_setup_ll(80000000);
@@ -119,4 +124,14 @@ static inline void imx6_ungate_all_peripherals(void)
 	imx_ungate_all_peripherals(IOMEM(MX6_CCM_BASE_ADDR));
 }
 
+static inline void imx51_ungate_all_peripherals(void)
+{
+	imx_ungate_all_peripherals(IOMEM(MX51_CCM_BASE_ADDR));
+}
+
+static inline void imx53_ungate_all_peripherals(void)
+{
+	imx_ungate_all_peripherals(IOMEM(MX53_CCM_BASE_ADDR));
+}
+
 #endif /* __MACH_DEBUG_LL_H__ */
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-13  5:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-08 12:18 [PATCH 1/2] ARM: i.MX: Add i.MX5 debug functions Sascha Hauer
2015-07-08 12:18 ` [PATCH 2/2] ARM: vincell: move to DT probing Sascha Hauer
2015-07-08 13:30 ` [PATCH 1/2] ARM: i.MX: Add i.MX5 debug functions Enrico Joerns
2015-07-13  5:20   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox