summaryrefslogtreecommitdiffstats
path: root/platforms/dtc.in
blob: 8fe7281bfd0b16134adf117fc84a89e600534fe9 (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
config HOST_DTC
	bool
	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.1.0"
        help
          Specify the DTC version number to be used

endif


menuconfig DTC
	bool
	select HOST_DTC
	select KERNEL
	default y
	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.

config DTC_OFTREE_DTS
	string "source dts file"
	depends on DTC
	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_EXTRA_ARGS
	string "extra options passed to dtc"
	depends on DTC