[U-Boot] [PATCH] ARM: uniphier: allow debug_ll_init() to do nothing for unknown SoCs
Masahiro Yamada
yamada.masahiro at socionext.com
Mon Mar 7 12:29:41 CET 2016
This function should just return for unknown SoCs rather than writing
unexpected values to registers.
Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---
arch/arm/mach-uniphier/arm32/debug_ll.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-uniphier/arm32/debug_ll.S b/arch/arm/mach-uniphier/arm32/debug_ll.S
index a70954c..8e4943c 100644
--- a/arch/arm/mach-uniphier/arm32/debug_ll.S
+++ b/arch/arm/mach-uniphier/arm32/debug_ll.S
@@ -175,6 +175,7 @@ proxstream2_end:
b init_uart
ph1_ld6b_end:
#endif
+ mov pc, lr
init_uart:
addruart r0, r1, r2
--
1.9.1
More information about the U-Boot
mailing list