ARM: uniphier: allow debug_ll_init() to do nothing for unknown SoCs
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 7 Mar 2016 11:29:41 +0000 (20:29 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 8 Mar 2016 16:11:15 +0000 (01:11 +0900)
This function should just return for unknown SoCs rather than writing
unexpected values to registers.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/arm32/debug_ll.S

index a70954cbee711ba976fb24a39804d453b268194b..8e4943cff97fe809bee116a9834c4355993a44e1 100644 (file)
@@ -175,6 +175,7 @@ proxstream2_end:
        b               init_uart
 ph1_ld6b_end:
 #endif
+       mov             pc, lr
 
 init_uart:
        addruart        r0, r1, r2