serial: zynq: Add support for slow emulation platform
authorMichal Simek <michal.simek@xilinx.com>
Wed, 15 Apr 2015 11:05:06 +0000 (13:05 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 29 Apr 2015 09:19:01 +0000 (11:19 +0200)
commit04bc5c939a79c796374ffb93251841317ef8cf6f
tree5fde93d281648bdb65e642d21c7d8e25da7da47b
parentcaacb33fd1f9c270b0f0c878cfca08b56c0b257c
serial: zynq: Add support for slow emulation platform

On slow platforms not all baudrate setting is valid.
Check it directly in the driver and setup maximum possible
frequency.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/serial/serial_zynq.c