e387344499
Merge common code between PowerPC and Microblaze. SPARC implements irq_of_parse_and_map(), but the implementation is different, so it does not use this code. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Michal Simek <monstr@monstr.eu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Jeremy Kerr <jeremy.kerr@canonical.com>
40 lines
691 B
Plaintext
40 lines
691 B
Plaintext
config OF_FLATTREE
|
|
bool
|
|
depends on OF
|
|
|
|
config OF_DYNAMIC
|
|
def_bool y
|
|
depends on OF && PPC_OF
|
|
|
|
config OF_IRQ
|
|
def_bool y
|
|
depends on OF && !SPARC
|
|
|
|
config OF_DEVICE
|
|
def_bool y
|
|
depends on OF && (SPARC || PPC_OF || MICROBLAZE)
|
|
|
|
config OF_GPIO
|
|
def_bool y
|
|
depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
|
|
help
|
|
OpenFirmware GPIO accessors
|
|
|
|
config OF_I2C
|
|
def_tristate I2C
|
|
depends on (PPC_OF || MICROBLAZE) && I2C
|
|
help
|
|
OpenFirmware I2C accessors
|
|
|
|
config OF_SPI
|
|
def_tristate SPI
|
|
depends on OF && (PPC_OF || MICROBLAZE) && SPI
|
|
help
|
|
OpenFirmware SPI accessors
|
|
|
|
config OF_MDIO
|
|
def_tristate PHYLIB
|
|
depends on OF && PHYLIB
|
|
help
|
|
OpenFirmware MDIO bus (Ethernet PHY) accessors
|