[POWERPC] 4xx: PLB to PCI Express support
This adds to the previous 2 patches the support for the 4xx PCI Express
cells as found in the 440SPe revA, revB and 405EX.
Unfortunately, due to significant differences between these, and other
interesting "features" of those pieces of HW, the code isn't as simple
as it is for PCI and PCI-X and some of the functions differ significantly
between the 3 implementations. Thus, not only this code can only support
those 3 implementations for now and will refuse to operate on any other,
but there are added ifdef's to avoid the bloat of building a fairly large
amount of code on platforms that don't need it.
Also, this code currently only supports fully initializing root complex
nodes, not endpoint. Some more code will have to be lifted from the
arch/ppc implementation to add the endpoint support, though it's mostly
differences in memory mapping, and the question on how to represent
endpoint mode PCI in the device-tree is thus open.
Many thanks to Stefan Roese for testing & fixing up the 405EX bits !
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2007-12-21 12:39:24 +08:00
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see Documentation/kbuild/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
config PPC4xx_PCI_EXPRESS
|
|
|
|
bool
|
|
|
|
depends on PCI && 4xx
|
|
|
|
default n
|
2008-08-06 07:10:01 +08:00
|
|
|
|
2014-03-06 11:52:28 +08:00
|
|
|
config PPC4xx_HSTA_MSI
|
|
|
|
bool
|
|
|
|
depends on PCI_MSI
|
|
|
|
depends on PCI && 4xx
|
|
|
|
default n
|
|
|
|
|
2011-03-30 07:10:24 +08:00
|
|
|
config PPC4xx_MSI
|
|
|
|
bool
|
|
|
|
depends on PCI_MSI
|
|
|
|
depends on PCI && 4xx
|
|
|
|
default n
|
|
|
|
|
2008-08-06 07:10:01 +08:00
|
|
|
config PPC_MSI_BITMAP
|
|
|
|
bool
|
|
|
|
depends on PCI_MSI
|
|
|
|
default y if MPIC
|
|
|
|
default y if FSL_PCI
|
2011-03-30 07:10:24 +08:00
|
|
|
default y if PPC4xx_MSI
|
2013-09-26 15:52:17 +08:00
|
|
|
default y if PPC_POWERNV
|
2011-04-04 11:46:58 +08:00
|
|
|
|
|
|
|
source "arch/powerpc/sysdev/xics/Kconfig"
|
|
|
|
|
2011-04-15 06:31:58 +08:00
|
|
|
config PPC_SCOM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SCOM_DEBUGFS
|
|
|
|
bool "Expose SCOM controllers via debugfs"
|
2013-08-29 14:58:12 +08:00
|
|
|
depends on PPC_SCOM && DEBUG_FS
|
2011-04-15 06:31:58 +08:00
|
|
|
default n
|
2012-03-13 01:12:59 +08:00
|
|
|
|
|
|
|
config GE_FPGA
|
|
|
|
bool
|
|
|
|
default n
|