summaryrefslogtreecommitdiffstats
path: root/platforms/dtc.in
blob: a1a8a2a8f4fe3a970d6fef6e33e32767f096cbc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
## SECTION=devicetree

menuconfig DTC
	bool
	select HOST_DTC		if !DTC_KERNEL
	select KERNEL_DTC	if DTC_KERNEL
	select KERNEL
	prompt "Build device tree             "
	help
	  Select this to build a device tree for your board.
	  You will find the device tree binary blob under
	  images/oftree in your workspace.

if DTC

config DTC_INSTALL_OFTREE
	bool "install oftree to /boot"
	help
	  Creates an package to install the 'oftree' file to /boot
	  of your target system.

config DTC_OFTREE_DTS_PATH
	string "path to source dts file"
	default "${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${PTXCONF_KERNEL_ARCH_STRING}/boot/dts"
	help
	  Define path to the dts source file. Multiple directories can be
	  specified separated by ':'.

config DTC_OFTREE_DTS
	string "source dts file"
	default "<yourboard>.dts"
	help
	  Select the dts file to use for the device tree binary
	  blob generation. For relative file names DTC_OFTREE_DTS_PATH
	  is used as a search path for the device tree files specified
	  here. Multiple dts files can be specified, separated by spaces.

config DTC_KERNEL
	bool
	default y
	prompt "use kernel dtc"

config DTC_EXTRA_ARGS
	string "extra options passed to dtc"

endif