OSDN Git Service

of: Put all CONFIG_OF dependencies into a Kconfig menu block
authorGrant Likely <grant.likely@secretlab.ca>
Mon, 5 Jul 2010 18:02:13 +0000 (12:02 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 5 Jul 2010 22:14:55 +0000 (16:14 -0600)
commit5ab5fc7e35705cf1a8a506d8e8b71acc27feec75
treea0557f867fe39ec91f440fc34f7d50528c7353d3
parentdd5e73794c9af30d6491963e13436d9f05ee6df6
of: Put all CONFIG_OF dependencies into a Kconfig menu block

All of the options in drivers/of/Kconfig depend on CONFIG_OF.  Putting
all of them inside a menu block simplifies the dependency statements.
It also creates a logical group for adding user selectable OF options.

This patch also changes (PPC_OF || MICROBLAZE) statements to (!SPARC)
so that those options are available to other architectures (and in
fact the !SPARC conditions should probably be re-evalutated since the
code is more generic now)

This patch also moves the definition of CONFIG_DTC from arch/* to
drivers/of/Kconfig

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/microblaze/Kconfig
arch/powerpc/Kconfig
drivers/of/Kconfig