diff options
author | Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> | 2010-11-18 15:54:56 -0800 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-12-29 16:08:18 -0700 |
commit | e6ce1324e4f08b0d984340201a125806dae0e9a6 (patch) | |
tree | fe7e203f2e5d73b555a6fcb713948cf4fe5f7715 /arch/mips | |
parent | 55271024a735d0c3234e6ca7e0914b05aab7fbac (diff) | |
download | kernel_samsung_tuna-e6ce1324e4f08b0d984340201a125806dae0e9a6.zip kernel_samsung_tuna-e6ce1324e4f08b0d984340201a125806dae0e9a6.tar.gz kernel_samsung_tuna-e6ce1324e4f08b0d984340201a125806dae0e9a6.tar.bz2 |
of/flattree: Add Kconfig for EARLY_FLATTREE
The device tree code is now in two pieces: some which can be used generically
on any platform which selects CONFIG_OF_FLATTREE, and some early which is used
at boot time on only a few architectures. This patch segregates the early
code so that only those architectures which care about it need compile it.
This also means that some of the requirements in the early code (such as
a cmd_line variable) that most architectures (e.g. X86) don't provide
can be ignored.
Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
[grant.likely@secretlab.ca: remove extra blank line addition]
[grant.likely@secretlab.ca: fixed incorrect #ifdef CONFIG_EARLY_FLATTREE check]
[grant.likely@secretlab.ca: Made OF_EARLY_FLATTREE select instead of depend
on OF_FLATTREE]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 0a9b5b8..f489ec3 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2218,7 +2218,7 @@ config SECCOMP config USE_OF bool "Flattened Device Tree support" select OF - select OF_FLATTREE + select OF_EARLY_FLATTREE help Include support for flattened device tree machine descriptions. |