]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
exynos: serial: Refactor init code for debug UART
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2015 00:15:53 +0000 (18:15 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:14 +0000 (08:17 +0200)
commit1c09634b10ce1c8b3ed59f2104c2c19aa8de203e
tree11ada075d7203ca21ed425239d7b6db71e01139e
parent9daa9e0616934ab2425f2f2051615e8a23b4e912
exynos: serial: Refactor init code for debug UART

The debug UART code needs to perform the same init as the normal UART
driver. In preparation for this, move the init code into two functions, one
for the basic init and one for setting the baud rate. This will make adding
debug UART support easier.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_s5p.c