summaryrefslogtreecommitdiffstats
path: root/platforms/dtc.in
blob: 470c36f78097df93c837ed5752b38f8645384bbf (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
menuconfig HOST_DTC
	bool
	depends on !KERNEL_DTC
	prompt "Build device tree compiler    "
	help
	  Select this if the HOST_DTC tool is required without
	  building a device tree. (It is also used for building
	  U-boot FIT images)

if HOST_DTC

config HOST_DTC_VERSION
	string
	prompt "Device tree compiler version"
	default "1.3.0"
	help
	  Specify the DTC version number to be used

config HOST_DTC_MD5
	prompt "dtc source md5sum"
	string

endif


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
	string "source dts file"
	default "${KERNEL_DIR}/arch/powerpc/boot/dts/<yourboard>.dts"
	help
	  Select the dts file to use for the device tree binary
	  blob generation. Default is to use the one shipped with
	  the kernel.

config DTC_KERNEL
	bool
	prompt "use kernel dtc"

config DTC_EXTRA_ARGS
	string "extra options passed to dtc"

endif