]> err.no Git - linux-2.6/commit
[POWERPC] bootwrapper: Add dt_xlate_reg(), and use it to find serial registers.
authorScott Wood <scottwood@freescale.com>
Mon, 26 Mar 2007 20:52:24 +0000 (15:52 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 17:55:15 +0000 (03:55 +1000)
commit6e1af384f1c1742ae6d86bbf779d4fa020c509bc
treee07f1cc421fdc4e51847d26bb9bdccc53341e1cc
parentdbf8eefa2b814d6922492120bfa46d4bc42ceb20
[POWERPC] bootwrapper: Add dt_xlate_reg(), and use it to find serial registers.

dt_xlate_reg() uses the ranges properties of a node's parentage to find
the absolute physical address of the node's registers.

The ns16550 driver uses this when no virtual-reg property is found.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/devtree.c
arch/powerpc/boot/ns16550.c
arch/powerpc/boot/ops.h