s5j/serial: refactor up_setup()
authorWonsang Ryou <wonsang.yoo@samsung.com>
Mon, 21 Aug 2017 15:36:10 +0000 (00:36 +0900)
committersunghan <sh924.chang@samsung.com>
Wed, 20 Sep 2017 07:52:44 +0000 (16:52 +0900)
commitd6c9969980a7ea093b39a76e5f6e34c2477219d8
treee6bbb651cfd43fe3f9b4964d1050e09f75e7abf4
parent920cf5e3fc66dee18c2061a22819d3a90b6b52f8
s5j/serial: refactor up_setup()

This patch separates up_configure() function, which configures baud
rate, bits and parity, from up_setup(). The up_configure() function
can be called when baud, bits or parity is initialized or changed.

Change-Id: I6f12d57f969fe0fbbde0e13583bde4f0032bccd6
Signed-off-by: Wonsang Ryou <wonsang.yoo@samsung.com>
os/arch/arm/src/s5j/s5j_serial.c