diff mbox

[U-Boot] ARM: uniphier: fix build error when CONFIG_DEBUG_LL is defined

Message ID 1440743837-21087-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Delegated to: Masahiro Yamada
Headers show

Commit Message

Masahiro Yamada Aug. 28, 2015, 6:37 a.m. UTC
The build error happens if CONFIG_DEBUG_LL and CONFIG_MACH_PH1_SLD3
are both enabled.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
 arch/arm/mach-uniphier/ph1-sld3/lowlevel_debug.S | 2 ++
 1 file changed, 2 insertions(+)

Comments

Masahiro Yamada Aug. 30, 2015, 3:42 p.m. UTC | #1
2015-08-28 15:37 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> The build error happens if CONFIG_DEBUG_LL and CONFIG_MACH_PH1_SLD3
> are both enabled.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Applied to u-boot-uniphier/master.
diff mbox

Patch

diff --git a/arch/arm/mach-uniphier/ph1-sld3/lowlevel_debug.S b/arch/arm/mach-uniphier/ph1-sld3/lowlevel_debug.S
index 9d1fd2c..41f67b7 100644
--- a/arch/arm/mach-uniphier/ph1-sld3/lowlevel_debug.S
+++ b/arch/arm/mach-uniphier/ph1-sld3/lowlevel_debug.S
@@ -10,6 +10,8 @@ 
 #include <mach/bcu-regs.h>
 #include <mach/sc-regs.h>
 #include <mach/sg-regs.h>
+
+#define UART_CLK		36864000
 #include <mach/debug-uart.S>
 
 ENTRY(setup_lowlevel_debug)