From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Fri, 28 Aug 2015 06:37:17 +0000 (+0900)
Subject: ARM: uniphier: fix build error when CONFIG_DEBUG_LL is defined
X-Git-Tag: v2025.01-rc5-pxa1908~11893
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=94bd3699eeb2c158f61a678bc023c3dfda284298;p=u-boot.git

ARM: uniphier: fix build error when CONFIG_DEBUG_LL is defined

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>
---

diff --git a/arch/arm/mach-uniphier/ph1-sld3/lowlevel_debug.S b/arch/arm/mach-uniphier/ph1-sld3/lowlevel_debug.S
index 9d1fd2c964..41f67b7a8f 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)