]> git.sur5r.net Git - u-boot/commit
serial: sh: Use the clock framework to obtain clock config
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 21 Jul 2017 21:19:18 +0000 (23:19 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 2 Aug 2017 19:26:25 +0000 (04:26 +0900)
commit8171499df99884e770430346698d7045c777a46b
tree971cd374626c2799cc12c91c2aa6114ce8c16584
parent03a38a397248529b01908eaed24f9262545ca9b5
serial: sh: Use the clock framework to obtain clock config

Since we now have clock driver on the RCar Gen3 , obtain the clock
configuration using the clock framework functions. In case this
fails, fall back to the original code for pulling the clock config
directly out of OF.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/serial/serial_sh.c