[PATCH 2/5] bootwrapper: Add CONFIG_DEVICE_TREE
Scott Wood
scottwood at freescale.com
Tue Mar 27 06:52:26 EST 2007
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.
Signed-off-by: Scott Wood <scottwood at freescale.com>
---
arch/powerpc/Kconfig | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 20a8fdc..3b458e1 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -590,6 +590,22 @@ config SECCOMP
If unsure, say Y. Only embedded should say N here.
+config DEVICE_TREE
+ string "Static device tree source file"
+ help
+ This specifies the device tree source (.dts) file to be
+ compiled and included when building the bootwrapper.
+ If a relative filename is given, then it will be relative
+ to arch/powerpc/boot/dts.
+
+ This is required when building a cuImage target for an
+ older U-Boot, which cannot pass a device tree itself.
+ Such a kernel will not work with a newer U-Boot that
+ tries to pass a device tree (unless you tell it not to).
+ If your U-Boot does not mention a device tree in
+ "help bootm", then use the cuImage target and specify
+ a device tree here. Otherwise, use the uImage target.
+
endmenu
config ISA_DMA_API
--
1.5.0.3
More information about the Linuxppc-dev
mailing list