]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] spufs: support new OF device tree format
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Oct 2006 15:26:20 +0000 (17:26 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 4 Oct 2006 23:21:01 +0000 (09:21 +1000)
commit7650f2f2c367242a2092908794b4486876baf6c7
tree82b60df9ed602d19bcaa70e728b2b8213e9d3172
parente1dbff2bafa83f839ef15f51904b0cce9fc89387
[POWERPC] spufs: support new OF device tree format

The properties we used traditionally in the device tree are somewhat
nonstandard.  This adds support for a more conventional format using
'interrupts' and 'reg' properties.

The interrupts are specified in three cells (class 0, 1 and 2) and
registered at the interrupt-parent.

The reg property contains either three or four register areas in the
order 'local-store', 'problem', 'priv2', and 'priv1', so the priv1 one
can be left out in case of hypervisor driven systems that access these
through hcalls.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c