powerpc/mpc85xx: Add revision properties in portal device tree node 'pme'
authorJeffrey Ladouceur <Jeffrey.Ladouceur@freescale.com>
Fri, 25 Jan 2013 10:38:53 +0000 (10:38 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 2 May 2013 21:56:42 +0000 (16:56 -0500)
commit3c1bfc04c6292070ac4bd0a39976a3dbe6f00aa0
treeb5f8fcf6ea209d05096c5bb64e4796cfff44601a
parentacac075b94ede46b2d7a534437bb0431749e57a7
powerpc/mpc85xx: Add revision properties in portal device tree node 'pme'

The 'fsl,pme-rev1' and 'fsl-pme-rev2' properties have been added to the
pme portal node. This is required for software to determine which version
of PME hardware is present and take appropriate actions.
These properties are a direct reflection of the corresponding ccsr pme
register value.

Also removed unnecessary static global variables.

Signed-off-by: Jeffrey Ladouceur <Jeffrey.Ladouceur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/portals.c