]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/microwatt: Remove unused early debug code
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 19 Sep 2022 05:27:55 +0000 (15:27 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:17 +0000 (20:58 +1000)
commitff59e947205b91b77e8c88acb4494dac35d45d11
tree7b2e920278de8e7b3b9a61f95ac9b6e6536c9526
parentea4e3af08387110603f03e47abd6ef730e426b8a
powerpc/microwatt: Remove unused early debug code

The original microwatt submission[1] included some early debug code for
using the Microwatt "potato" UART.

The series that was eventually merged switched to using a standard UART,
and so doesn't need any special early debug handling. But some of the
original code was merged accidentally under the non-existent
CONFIG_PPC_EARLY_DEBUG_MICROWATT.

Drop the unused code.

1: https://lore.kernel.org/linuxppc-dev/20200509050340.GD1464954@thinks.paulus.ozlabs.org/

Fixes: fcb6e330a3b3 ("powerpc/microwatt: Use standard 16550 UART for console")
Reported-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220919052755.800907-1-mpe@ellerman.id.au
arch/powerpc/kernel/udbg_16550.c