diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-08-06 12:33:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-08-07 07:54:46 +0200 |
commit | 0c5c47b511763a2a9b216918e041178826fbdacc (patch) | |
tree | 25ef3761d7f47f7d19a8b317e1486304a3390cf2 /arch/arm/mach-imx/include/mach | |
parent | 19afbd285e011c109e5156a459ce236adb9cf1cb (diff) | |
parent | e243adbd76f30783100cafd3bdf89bdb7066bbe7 (diff) | |
download | barebox-0c5c47b511763a2a9b216918e041178826fbdacc.tar.gz barebox-0c5c47b511763a2a9b216918e041178826fbdacc.tar.xz |
Merge branch 'for-next/vincell'
Diffstat (limited to 'arch/arm/mach-imx/include/mach')
-rw-r--r-- | arch/arm/mach-imx/include/mach/debug_ll.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/debug_ll.h b/arch/arm/mach-imx/include/mach/debug_ll.h index fb170fe08f..4f2d923aa0 100644 --- a/arch/arm/mach-imx/include/mach/debug_ll.h +++ b/arch/arm/mach-imx/include/mach/debug_ll.h @@ -50,6 +50,13 @@ static inline void imx51_uart_setup_ll(void) imx51_uart_setup(base); } +static inline void imx53_uart_setup_ll(void) +{ + void *base = IOMEM(IMX_UART_BASE(IMX_DEBUG_SOC, CONFIG_DEBUG_IMX_UART_PORT)); + + imx53_uart_setup(base); +} + static inline void imx6_uart_setup_ll(void) { void *base = IOMEM(IMX_UART_BASE(IMX_DEBUG_SOC, CONFIG_DEBUG_IMX_UART_PORT)); @@ -70,6 +77,7 @@ static inline void PUTC_LL(int c) #else static inline void imx51_uart_setup_ll(void) {} +static inline void imx53_uart_setup_ll(void) {} static inline void imx6_uart_setup_ll(void) {} #endif /* CONFIG_DEBUG_LL */ @@ -86,4 +94,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__ */ |