]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: zynq: Fix address reading from DM
authorMichal Simek <michal.simek@xilinx.com>
Tue, 12 Jan 2016 13:45:49 +0000 (14:45 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:54 +0000 (15:55 +0100)
commit842efb3a930aac48b471573dfe380d7bffbbc3f0
tree75e4ed85961b7e59382a5d9860c1778e8b9d2cf1
parenta2533183c0fb41c10682a8d516a7434ebc4b9f39
serial: zynq: Fix address reading from DM

Use dev_get_addr() instead of reading reg base directly in the driver.
Core function is also more robust.

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