From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Tue, 15 Sep 2015 15:31:05 +0800 Subject: [U-Boot] [PATCH v2] dm: core: Enable optional use of fdt_translate_address() In-Reply-To: <1441343506-28473-1-git-send-email-sr@denx.de> References: <1441174944-8878-1-git-send-email-sr@denx.de> <1441343506-28473-1-git-send-email-sr@denx.de> Message-ID: <55F7C939.2010900@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Stefan, On 09/04/2015 01:11 PM, Stefan Roese wrote: > The current "simple" address translation simple_bus_translate() is not > working on some platforms (e.g. MVEBU). As here more complex "ranges" > properties are used in many nodes (multiple tuples etc). This patch > enables the optional use of the common fdt_translate_address() function > which handles this translation correctly. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > Cc: Marek Vasut > Cc: Masahiro Yamada > --- > v2: > - Rework code a bit as suggested by Simon. Also added some comments > to make the use of the code paths more clear. > It works great on nios2 board. Thanks a lot. Tested-by: Thomas Chou Best regards, Thomas Chou