From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Fri, 23 Feb 2018 19:26:38 +0100 Subject: [U-Boot] [PATCH 3/5] rockchip: video: rk_hdmi: migrate to livetree In-Reply-To: <1519403933-64408-4-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1519403933-64408-1-git-send-email-philipp.tomsich@theobroma-systems.com> <1519403933-64408-4-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: <20180223192638.4e142fb2@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 23 Feb 2018 17:38:51 +0100 Philipp Tomsich philipp.tomsich at theobroma-systems.com wrote: > 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 > Tested-by: Klaus Goger Reviewed-by: Anatolij Gustschin