From: Laurent Pinchart Date: Thu, 10 Apr 2008 15:03:04 +0000 (+0200) Subject: [POWERPC] Add bootwrapper function to get virtual reg from the device tree. X-Git-Tag: v2.6.26-rc1~1125^2~16^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da0a5f0c65913e4ec0a70a5019ce0a7bcaab21c9;p=pandora-kernel.git [POWERPC] Add bootwrapper function to get virtual reg from the device tree. This patch adds a new generic device tree processing function that retrieves virtual reg addresses from the device tree to the bootwrapper code. It also updates the bootwrapper code to use the new function. dt_get_virtual_reg() retrieves the virtual reg addresses from the "virtual-reg" property. If the property can't be found, it uses the "reg" property and walks the tree to translate it to absolute addresses. Signed-off-by: Laurent Pinchart Acked-by: Scott Wood Signed-off-by: Kumar Gala --- Reading git-diff-tree failed