ARM: uniphier: move sg_set_{pinsel, iectrl} to more relevant places
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 28 Jun 2019 17:38:06 +0000 (02:38 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 29 Jun 2019 13:31:18 +0000 (22:31 +0900)
commit69492fb4c56d82142e0312474369d8da97d5182d
tree2ca572f75e9644a215679dca55e197981f5910cf
parente3d5d3ac5bbbddddf830a918e59c13f7a8d9ef6c
ARM: uniphier: move sg_set_{pinsel, iectrl} to more relevant places

Move the sg_set_pinsel macro to arch/arm/mach-uniphier/arm32/debug_ll.S
since it is not used anywhere else.

Move the C functions sg_set_{pinsel,iectrl} to debug-uart.c since they
are not used anywhere else.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/arm32/debug_ll.S
arch/arm/mach-uniphier/debug-uart/debug-uart.c
arch/arm/mach-uniphier/debug-uart/debug-uart.h
arch/arm/mach-uniphier/sg-regs.h