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

Masahiro Yamada yamada.masahiro at socionext.com
Fri Aug 28 08:37:17 CEST 2015


The build error happens if CONFIG_DEBUG_LL and CONFIG_MACH_PH1_SLD3
are both enabled.

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

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



More information about the U-Boot mailing list