Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Scott Wood and committed by
Paul Mackerras
270429ba b97d2791

+24
+24
arch/powerpc/Kconfig
··· 162 162 select FSL_SOC 163 163 select 83xx 164 164 select PPC_FPU 165 + select WANT_DEVICE_TREE 165 166 166 167 config PPC_85xx 167 168 bool "Freescale 85xx" ··· 572 571 defined by each seccomp mode. 573 572 574 573 If unsure, say Y. Only embedded should say N here. 574 + 575 + config WANT_DEVICE_TREE 576 + bool 577 + default n 578 + 579 + config DEVICE_TREE 580 + string "Static device tree source file" 581 + depends on WANT_DEVICE_TREE 582 + help 583 + This specifies the device tree source (.dts) file to be 584 + compiled and included when building the bootwrapper. If a 585 + relative filename is given, then it will be relative to 586 + arch/powerpc/boot/dts. If you are not using the bootwrapper, 587 + or do not need to build a dts into the bootwrapper, this 588 + field is ignored. 589 + 590 + For example, this is required when building a cuImage target 591 + for an older U-Boot, which cannot pass a device tree itself. 592 + Such a kernel will not work with a newer U-Boot that tries to 593 + pass a device tree (unless you tell it not to). If your U-Boot 594 + does not mention a device tree in "help bootm", then use the 595 + cuImage target and specify a device tree here. Otherwise, use 596 + the uImage target and leave this field blank. 575 597 576 598 endmenu 577 599