ARM: uniphier: remove unused init code for CONFIG_DEBUG_UART
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 28 Jun 2019 17:38:05 +0000 (02:38 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 29 Jun 2019 13:31:18 +0000 (22:31 +0900)
commite3d5d3ac5bbbddddf830a918e59c13f7a8d9ef6c
tree3a7311c6ce50fc447ed6fe749e250970eb17fd18
parent3b7fc3ff318ea22d183efacaaac47baa7421bc51
ARM: uniphier: remove unused init code for CONFIG_DEBUG_UART

debug_uart_init() is called from spl_board_init(), which is only
compiled for SPL. For U-boot proper, _debug_uart_init() is unreachable,
so dropped by the dead code elimination.

Now that 64-bit SoCs of this SoC family no longer support SPL,
debug-uart-ld20.c is never compiled.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/debug-uart/Makefile
arch/arm/mach-uniphier/debug-uart/debug-uart-ld20.c [deleted file]
arch/arm/mach-uniphier/debug-uart/debug-uart.c
arch/arm/mach-uniphier/debug-uart/debug-uart.h