powerpc/pci: Fix IMMRBAR address
authorMinghuan Lian <Minghuan.Lian@freescale.com>
Mon, 20 Jan 2014 10:54:20 +0000 (18:54 +0800)
committerScott Wood <scottwood@freescale.com>
Wed, 19 Mar 2014 21:09:05 +0000 (16:09 -0500)
commita424b97b7e652402c6fb51dceef175723c1f189c
tree61f57518556a6df85ff326eafdf512d99d354a73
parent5d1a566e51d01a8bac3f56aec87bcb93395f3255
powerpc/pci: Fix IMMRBAR address

For PEXCSRBAR, bit 3-0 indicate prefetchable and address type.
So when getting base address, these bits should be masked,
otherwise we may get incorrect base address.

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/fsl_pci.c