• Arnd Bergmann's avatar
    [POWERPC] spufs: support new OF device tree format · 7650f2f2
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    7650f2f2
spu_base.c 19.5 KB