diff options
author | Scott Wood <scottwood@freescale.com> | 2007-04-16 19:24:51 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-24 07:31:53 -0400 |
commit | 270429baa928fa6beff4042a7701944e23396417 (patch) | |
tree | 025a98f94e1fc721726c152118d305fcd55b805a /arch/powerpc | |
parent | b97d27914354619ec6883ffe08dbd9c8e4b826b7 (diff) |
[POWERPC] bootwrapper: Add CONFIG_DEVICE_TREE
This provides a way to tell the bootwrapper makefile which device tree to
include by default. The wrapper can still be invoked standalone to wrap
with a different device tree without reconfiguring the kernel, if that is
desired.
The user will only be asked to provide a device tree if the platform
selects CONFIG_WANT_DEVICE_TREE.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 26713da1b524..9b9c00ee688d 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -162,6 +162,7 @@ config PPC_83xx | |||
162 | select FSL_SOC | 162 | select FSL_SOC |
163 | select 83xx | 163 | select 83xx |
164 | select PPC_FPU | 164 | select PPC_FPU |
165 | select WANT_DEVICE_TREE | ||
165 | 166 | ||
166 | config PPC_85xx | 167 | config PPC_85xx |
167 | bool "Freescale 85xx" | 168 | bool "Freescale 85xx" |
@@ -572,6 +573,29 @@ config SECCOMP | |||
572 | 573 | ||
573 | If unsure, say Y. Only embedded should say N here. | 574 | If unsure, say Y. Only embedded should say N here. |
574 | 575 | ||
576 | config WANT_DEVICE_TREE | ||
577 | bool | ||
578 | default n | ||
579 | |||
580 | config DEVICE_TREE | ||
581 | string "Static device tree source file" | ||
582 | depends on WANT_DEVICE_TREE | ||
583 | help | ||
584 | This specifies the device tree source (.dts) file to be | ||
585 | compiled and included when building the bootwrapper. If a | ||
586 | relative filename is given, then it will be relative to | ||
587 | arch/powerpc/boot/dts. If you are not using the bootwrapper, | ||
588 | or do not need to build a dts into the bootwrapper, this | ||
589 | field is ignored. | ||
590 | |||
591 | For example, this is required when building a cuImage target | ||
592 | for an older U-Boot, which cannot pass a device tree itself. | ||
593 | Such a kernel will not work with a newer U-Boot that tries to | ||
594 | pass a device tree (unless you tell it not to). If your U-Boot | ||
595 | does not mention a device tree in "help bootm", then use the | ||
596 | cuImage target and specify a device tree here. Otherwise, use | ||
597 | the uImage target and leave this field blank. | ||
598 | |||
575 | endmenu | 599 | endmenu |
576 | 600 | ||
577 | config ISA_DMA_API | 601 | config ISA_DMA_API |