diff options
author | Laurent Pinchart <laurentp@cse-semaphore.com> | 2008-04-10 19:03:04 +0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-04-17 10:01:37 +0400 |
commit | da0a5f0c65913e4ec0a70a5019ce0a7bcaab21c9 (patch) | |
tree | 6aab633690a25acaf46d61416cff6a808deaad8d /drivers/scsi/aha152x.h | |
parent | d464df2667cf181419604e656773f80996cf0470 (diff) | |
download | linux-da0a5f0c65913e4ec0a70a5019ce0a7bcaab21c9.tar.xz |
[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 <laurentp@cse-semaphore.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/scsi/aha152x.h')
0 files changed, 0 insertions, 0 deletions