diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-08-25 17:14:57 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-05 10:15:48 +0200 |
commit | 4960dc9db00fcf5058196dbcb94c2f139999bd2e (patch) | |
tree | 9d61a2eab6283efb10dc7fc57a8578d7189609ee /arch/arm/boards/tqma6x | |
parent | abd545d2f9b91268ed90879d929b0e5e055d574d (diff) | |
download | barebox-4960dc9db00fcf5058196dbcb94c2f139999bd2e.tar.gz barebox-4960dc9db00fcf5058196dbcb94c2f139999bd2e.tar.xz |
rework debug_ll
Convert to static inline functions and use lower case letters for function
names. Also, include mach/debug_ll.h when an architecture provides support
for debug_ll, not only when it's actually enabled. This allows architecures
to put some UART initialization code into mach/debug_ll.h which is compiled
out when debug_ll is disabled.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/tqma6x')
-rw-r--r-- | arch/arm/boards/tqma6x/lowlevel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/tqma6x/lowlevel.c b/arch/arm/boards/tqma6x/lowlevel.c index 8c8684123a..8a16abba3a 100644 --- a/arch/arm/boards/tqma6x/lowlevel.c +++ b/arch/arm/boards/tqma6x/lowlevel.c @@ -54,7 +54,7 @@ ENTRY_FUNCTION(start_imx6q_mba6x)(void) if (IS_ENABLED(CONFIG_DEBUG_LL)) { writel(0x2, 0x020e0338); setup_uart(); - PUTC_LL('a'); + putc_ll('a'); } arm_early_mmu_cache_invalidate(); @@ -77,7 +77,7 @@ ENTRY_FUNCTION(start_imx6dl_mba6x)(void) if (IS_ENABLED(CONFIG_DEBUG_LL)) { writel(0x2, 0x020e035c); setup_uart(); - PUTC_LL('a'); + putc_ll('a'); } arm_early_mmu_cache_invalidate(); |