sparc: turn CONFIG_OF into a select

so that we can make CONFIG_OF global and remove it from
the architecture Kconfig files later.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
Stephen Rothwell 2010-06-29 12:44:50 +10:00 committed by Grant Likely
parent 10f85f43ef
commit 7b14c647ae
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ config 64BIT
config SPARC config SPARC
bool bool
default y default y
select OF
select HAVE_IDE select HAVE_IDE
select HAVE_OPROFILE select HAVE_OPROFILE
select HAVE_ARCH_KGDB if !SMP || SPARC64 select HAVE_ARCH_KGDB if !SMP || SPARC64
@ -149,7 +150,7 @@ config ARCH_NO_VIRT_TO_BUS
def_bool y def_bool y
config OF config OF
def_bool y bool
config ARCH_SUPPORTS_DEBUG_PAGEALLOC config ARCH_SUPPORTS_DEBUG_PAGEALLOC
def_bool y if SPARC64 def_bool y if SPARC64