]> git.sur5r.net Git - u-boot/commit
rockchip: video: rk_hdmi: migrate to livetree
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 23 Feb 2018 16:38:51 +0000 (17:38 +0100)
committerAnatolij Gustschin <agust@denx.de>
Fri, 23 Feb 2018 19:48:31 +0000 (20:48 +0100)
commit18e48776a689cfa60a54450c6507e95c40bcf42e
treebd14f1975bad5e474d59bef5fb59755a8dbdd23b
parentb4f20767b12a5718ed8549aece73d405c6cac800
rockchip: video: rk_hdmi: migrate to livetree

The rk_hdmi (shared functions for multiple HDMI mini-drivers) has been
using devfdt_get_addr() to read the HDMI controller's IO base address.
This will cause a failure with a live tree.

This changes the driver to use dev_read_addr() which is safe both for
flat trees and live trees.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
drivers/video/rockchip/rk_hdmi.c