diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2009-04-30 01:25:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-02 19:52:26 -0400 |
commit | 9fffb55f66127b52c937ede5196ebfa0c0d50bce (patch) | |
tree | 11664fb82734ba8dcde9556b8d47e780451a740a | |
parent | afc1e702e8e8355faa712d4e90d9afe26a4995a5 (diff) |
Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc
The powerpc kernel always requires an Open Firmware like device tree
to supply device information. On systems without OF, this comes from
a flattened device tree blob. This blob is usually generated by dtc,
a tool which compiles a text description of the device tree into the
flattened format used by the kernel. Sometimes, the bootwrapper makes
small changes to the pre-compiled device tree blob (e.g. filling in
the size of RAM). To do this it uses the libfdt library.
Because these are only used on powerpc, the code for both these tools
is included under arch/powerpc/boot (these were imported and are
periodically updated from the upstream dtc tree).
However, the microblaze architecture, currently being prepared for
merging to mainline also uses dtc to produce device tree blobs. A few
other archs have also mentioned some interest in using dtc.
Therefore, this patch moves dtc and libfdt from arch/powerpc into
scripts, where it can be used by any architecture.
The vast bulk of this patch is a literal move, the rest is adjusting
the various Makefiles to use dtc and libfdt correctly from their new
locations.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/powerpc/Kconfig | 4 | ||||
-rw-r--r-- | arch/powerpc/boot/Makefile | 67 | ||||
-rw-r--r-- | arch/powerpc/boot/simpleboot.c | 2 | ||||
-rw-r--r-- | scripts/Makefile | 1 | ||||
-rw-r--r-- | scripts/dtc/Makefile | 54 | ||||
-rw-r--r-- | scripts/dtc/Makefile.dtc (renamed from arch/powerpc/boot/dtc-src/Makefile.dtc) | 0 | ||||
-rw-r--r-- | scripts/dtc/checks.c (renamed from arch/powerpc/boot/dtc-src/checks.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/data.c (renamed from arch/powerpc/boot/dtc-src/data.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/dtc-lexer.l (renamed from arch/powerpc/boot/dtc-src/dtc-lexer.l) | 0 | ||||
-rw-r--r-- | scripts/dtc/dtc-lexer.lex.c_shipped (renamed from arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped) | 0 | ||||
-rw-r--r-- | scripts/dtc/dtc-parser.tab.c_shipped (renamed from arch/powerpc/boot/dtc-src/dtc-parser.tab.c_shipped) | 0 | ||||
-rw-r--r-- | scripts/dtc/dtc-parser.tab.h_shipped (renamed from arch/powerpc/boot/dtc-src/dtc-parser.tab.h_shipped) | 0 | ||||
-rw-r--r-- | scripts/dtc/dtc-parser.y (renamed from arch/powerpc/boot/dtc-src/dtc-parser.y) | 0 | ||||
-rw-r--r-- | scripts/dtc/dtc.c (renamed from arch/powerpc/boot/dtc-src/dtc.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/dtc.h (renamed from arch/powerpc/boot/dtc-src/dtc.h) | 0 | ||||
-rw-r--r-- | scripts/dtc/flattree.c (renamed from arch/powerpc/boot/dtc-src/flattree.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/fstree.c (renamed from arch/powerpc/boot/dtc-src/fstree.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/Makefile.libfdt (renamed from arch/powerpc/boot/libfdt/Makefile.libfdt) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/fdt.c (renamed from arch/powerpc/boot/libfdt/fdt.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/fdt.h (renamed from arch/powerpc/boot/libfdt/fdt.h) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/fdt_ro.c (renamed from arch/powerpc/boot/libfdt/fdt_ro.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/fdt_rw.c (renamed from arch/powerpc/boot/libfdt/fdt_rw.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/fdt_strerror.c (renamed from arch/powerpc/boot/libfdt/fdt_strerror.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/fdt_sw.c (renamed from arch/powerpc/boot/libfdt/fdt_sw.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/fdt_wip.c (renamed from arch/powerpc/boot/libfdt/fdt_wip.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/libfdt.h (renamed from arch/powerpc/boot/libfdt/libfdt.h) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/libfdt_env.h (renamed from arch/powerpc/boot/dtc-src/libfdt_env.h) | 0 | ||||
-rw-r--r-- | scripts/dtc/libfdt/libfdt_internal.h (renamed from arch/powerpc/boot/libfdt/libfdt_internal.h) | 0 | ||||
-rw-r--r-- | scripts/dtc/livetree.c (renamed from arch/powerpc/boot/dtc-src/livetree.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/srcpos.c (renamed from arch/powerpc/boot/dtc-src/srcpos.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/srcpos.h (renamed from arch/powerpc/boot/dtc-src/srcpos.h) | 0 | ||||
-rw-r--r-- | scripts/dtc/treesource.c (renamed from arch/powerpc/boot/dtc-src/treesource.c) | 0 | ||||
-rw-r--r-- | scripts/dtc/version_gen.h (renamed from arch/powerpc/boot/dtc-src/version_gen.h) | 0 |
33 files changed, 83 insertions, 45 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 4c7804551362..a0d1146a0578 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -181,6 +181,10 @@ config SYS_SUPPORTS_APM_EMULATION | |||
181 | default y if PMAC_APM_EMU | 181 | default y if PMAC_APM_EMU |
182 | bool | 182 | bool |
183 | 183 | ||
184 | config DTC | ||
185 | bool | ||
186 | default y | ||
187 | |||
184 | config DEFAULT_UIMAGE | 188 | config DEFAULT_UIMAGE |
185 | bool | 189 | bool |
186 | help | 190 | help |
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 4458abb67c51..8da2bf963b57 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -33,7 +33,7 @@ ifeq ($(call cc-option-yn, -fstack-protector),y) | |||
33 | BOOTCFLAGS += -fno-stack-protector | 33 | BOOTCFLAGS += -fno-stack-protector |
34 | endif | 34 | endif |
35 | 35 | ||
36 | BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) -I$(srctree)/$(src)/libfdt | 36 | BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) |
37 | 37 | ||
38 | DTS_FLAGS ?= -p 1024 | 38 | DTS_FLAGS ?= -p 1024 |
39 | 39 | ||
@@ -53,9 +53,14 @@ zliblinuxheader := zlib.h zconf.h zutil.h | |||
53 | $(addprefix $(obj)/,$(zlib) cuboot-c2k.o gunzip_util.o main.o prpmc2800.o): \ | 53 | $(addprefix $(obj)/,$(zlib) cuboot-c2k.o gunzip_util.o main.o prpmc2800.o): \ |
54 | $(addprefix $(obj)/,$(zliblinuxheader)) $(addprefix $(obj)/,$(zlibheader)) | 54 | $(addprefix $(obj)/,$(zliblinuxheader)) $(addprefix $(obj)/,$(zlibheader)) |
55 | 55 | ||
56 | src-libfdt := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c | 56 | libfdt := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c |
57 | libfdtheader := fdt.h libfdt.h libfdt_internal.h | ||
58 | |||
59 | $(addprefix $(obj)/,$(libfdt) libfdt-wrapper.o simpleboot.o): \ | ||
60 | $(addprefix $(obj)/,$(libfdtheader)) | ||
61 | |||
57 | src-wlib := string.S crt0.S crtsavres.S stdio.c main.c \ | 62 | src-wlib := string.S crt0.S crtsavres.S stdio.c main.c \ |
58 | $(addprefix libfdt/,$(src-libfdt)) libfdt-wrapper.c \ | 63 | $(libfdt) libfdt-wrapper.c \ |
59 | ns16550.c serial.c simple_alloc.c div64.S util.S \ | 64 | ns16550.c serial.c simple_alloc.c div64.S util.S \ |
60 | gunzip_util.c elf_util.c $(zlib) devtree.c oflib.c ofconsole.c \ | 65 | gunzip_util.c elf_util.c $(zlib) devtree.c oflib.c ofconsole.c \ |
61 | 4xx.c ebony.c mv64x60.c mpsc.c mv64x60_i2c.c cuboot.c bamboo.c \ | 66 | 4xx.c ebony.c mv64x60.c mpsc.c mv64x60_i2c.c cuboot.c bamboo.c \ |
@@ -96,6 +101,12 @@ $(addprefix $(obj)/,$(zlibheader)): $(obj)/%: $(srctree)/lib/zlib_inflate/% | |||
96 | $(addprefix $(obj)/,$(zliblinuxheader)): $(obj)/%: $(srctree)/include/linux/% | 101 | $(addprefix $(obj)/,$(zliblinuxheader)): $(obj)/%: $(srctree)/include/linux/% |
97 | $(call cmd,copy_zliblinuxheader) | 102 | $(call cmd,copy_zliblinuxheader) |
98 | 103 | ||
104 | quiet_cmd_copy_libfdt = COPY $@ | ||
105 | cmd_copy_libfdt = cp $< $@ | ||
106 | |||
107 | $(addprefix $(obj)/,$(libfdt) $(libfdtheader)): $(obj)/%: $(srctree)/scripts/dtc/libfdt/% | ||
108 | $(call cmd,copy_libfdt) | ||
109 | |||
99 | $(obj)/empty.c: | 110 | $(obj)/empty.c: |
100 | @touch $@ | 111 | @touch $@ |
101 | 112 | ||
@@ -103,6 +114,7 @@ $(obj)/zImage.lds $(obj)/zImage.coff.lds $(obj)/zImage.ps3.lds: $(obj)/%: $(srct | |||
103 | @cp $< $@ | 114 | @cp $< $@ |
104 | 115 | ||
105 | clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \ | 116 | clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \ |
117 | $(libfdt) $(libfdtheader) \ | ||
106 | empty.c zImage.coff.lds zImage.ps3.lds zImage.lds | 118 | empty.c zImage.coff.lds zImage.ps3.lds zImage.lds |
107 | 119 | ||
108 | quiet_cmd_bootcc = BOOTCC $@ | 120 | quiet_cmd_bootcc = BOOTCC $@ |
@@ -114,6 +126,8 @@ quiet_cmd_bootas = BOOTAS $@ | |||
114 | quiet_cmd_bootar = BOOTAR $@ | 126 | quiet_cmd_bootar = BOOTAR $@ |
115 | cmd_bootar = $(CROSS32AR) -cr $@.$$$$ $(filter-out FORCE,$^); mv $@.$$$$ $@ | 127 | cmd_bootar = $(CROSS32AR) -cr $@.$$$$ $(filter-out FORCE,$^); mv $@.$$$$ $@ |
116 | 128 | ||
129 | $(obj-libfdt): $(obj)/%.o: $(srctree)/scripts/dtc/libfdt/%.c FORCE | ||
130 | $(call if_changed_dep,bootcc) | ||
117 | $(patsubst %.c,%.o, $(filter %.c, $(src-boot))): %.o: %.c FORCE | 131 | $(patsubst %.c,%.o, $(filter %.c, $(src-boot))): %.o: %.c FORCE |
118 | $(Q)mkdir -p $(dir $@) | 132 | $(Q)mkdir -p $(dir $@) |
119 | $(call if_changed_dep,bootcc) | 133 | $(call if_changed_dep,bootcc) |
@@ -124,7 +138,7 @@ $(patsubst %.S,%.o, $(filter %.S, $(src-boot))): %.o: %.S FORCE | |||
124 | $(obj)/wrapper.a: $(obj-wlib) FORCE | 138 | $(obj)/wrapper.a: $(obj-wlib) FORCE |
125 | $(call if_changed,bootar) | 139 | $(call if_changed,bootar) |
126 | 140 | ||
127 | hostprogs-y := addnote addRamDisk hack-coff mktree dtc | 141 | hostprogs-y := addnote addRamDisk hack-coff mktree |
128 | 142 | ||
129 | targets += $(patsubst $(obj)/%,%,$(obj-boot) wrapper.a) | 143 | targets += $(patsubst $(obj)/%,%,$(obj-boot) wrapper.a) |
130 | extra-y := $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \ | 144 | extra-y := $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \ |
@@ -133,47 +147,10 @@ extra-y := $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \ | |||
133 | dtstree := $(srctree)/$(src)/dts | 147 | dtstree := $(srctree)/$(src)/dts |
134 | 148 | ||
135 | wrapper :=$(srctree)/$(src)/wrapper | 149 | wrapper :=$(srctree)/$(src)/wrapper |
136 | wrapperbits := $(extra-y) $(addprefix $(obj)/,addnote hack-coff mktree dtc) \ | 150 | wrapperbits := $(extra-y) $(addprefix $(obj)/,addnote hack-coff mktree) \ |
137 | $(wrapper) FORCE | 151 | $(wrapper) FORCE |
138 | 152 | ||
139 | ############# | 153 | ############# |
140 | # Bits for building dtc | ||
141 | # DTC_GENPARSER := 1 # Uncomment to rebuild flex/bison output | ||
142 | |||
143 | dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o srcpos.o checks.o | ||
144 | dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o | ||
145 | dtc-objs := $(addprefix dtc-src/, $(dtc-objs)) | ||
146 | |||
147 | # prerequisites on generated files needs to be explicit | ||
148 | $(obj)/dtc-src/dtc-parser.tab.o: $(obj)/dtc-src/dtc-parser.tab.c $(obj)/dtc-src/dtc-parser.tab.h | ||
149 | $(obj)/dtc-src/dtc-lexer.lex.o: $(obj)/dtc-src/dtc-lexer.lex.c $(obj)/dtc-src/dtc-parser.tab.h | ||
150 | |||
151 | HOSTCFLAGS += -I$(src)/dtc-src/ -I$(src)/libfdt/ | ||
152 | |||
153 | targets += dtc-src/dtc-parser.tab.c | ||
154 | targets += dtc-src/dtc-lexer.lex.c | ||
155 | |||
156 | clean-files += dtc-src/dtc-parser.tab.h | ||
157 | |||
158 | ifdef DTC_GENPARSER | ||
159 | BISON = bison | ||
160 | FLEX = flex | ||
161 | |||
162 | quiet_cmd_bison = BISON $@ | ||
163 | cmd_bison = $(BISON) -o$@ -d $<; cp $@ $@_shipped | ||
164 | quiet_cmd_flex = FLEX $@ | ||
165 | cmd_flex = $(FLEX) -o$@ $<; cp $@ $@_shipped | ||
166 | |||
167 | $(obj)/dtc-src/dtc-parser.tab.c: $(src)/dtc-src/dtc-parser.y FORCE | ||
168 | $(call if_changed,bison) | ||
169 | |||
170 | $(obj)/dtc-src/dtc-parser.tab.h: $(obj)/dtc-src/dtc-parser.tab.c | ||
171 | |||
172 | $(obj)/dtc-src/dtc-lexer.lex.c: $(src)/dtc-src/dtc-lexer.l FORCE | ||
173 | $(call if_changed,flex) | ||
174 | endif | ||
175 | |||
176 | ############# | ||
177 | # Bits for building various flavours of zImage | 154 | # Bits for building various flavours of zImage |
178 | 155 | ||
179 | ifneq ($(CROSS32_COMPILE),) | 156 | ifneq ($(CROSS32_COMPILE),) |
@@ -347,8 +324,10 @@ $(obj)/treeImage.%: vmlinux $(obj)/%.dtb $(wrapperbits) | |||
347 | $(call if_changed,wrap,treeboot-$*,,$(obj)/$*.dtb) | 324 | $(call if_changed,wrap,treeboot-$*,,$(obj)/$*.dtb) |
348 | 325 | ||
349 | # Rule to build device tree blobs | 326 | # Rule to build device tree blobs |
350 | $(obj)/%.dtb: $(dtstree)/%.dts $(obj)/dtc | 327 | DTC = $(objtree)/scripts/dtc/dtc |
351 | $(obj)/dtc -O dtb -o $(obj)/$*.dtb -b 0 $(DTS_FLAGS) $(dtstree)/$*.dts | 328 | |
329 | $(obj)/%.dtb: $(dtstree)/%.dts | ||
330 | $(DTC) -O dtb -o $(obj)/$*.dtb -b 0 $(DTS_FLAGS) $(dtstree)/$*.dts | ||
352 | 331 | ||
353 | # If there isn't a platform selected then just strip the vmlinux. | 332 | # If there isn't a platform selected then just strip the vmlinux. |
354 | ifeq (,$(image-y)) | 333 | ifeq (,$(image-y)) |
diff --git a/arch/powerpc/boot/simpleboot.c b/arch/powerpc/boot/simpleboot.c index c58a0dada992..21cd48074ec8 100644 --- a/arch/powerpc/boot/simpleboot.c +++ b/arch/powerpc/boot/simpleboot.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include "types.h" | 19 | #include "types.h" |
20 | #include "io.h" | 20 | #include "io.h" |
21 | #include "stdio.h" | 21 | #include "stdio.h" |
22 | #include "libfdt/libfdt.h" | 22 | #include <libfdt.h> |
23 | 23 | ||
24 | BSS_STACK(4*1024); | 24 | BSS_STACK(4*1024); |
25 | 25 | ||
diff --git a/scripts/Makefile b/scripts/Makefile index aafdf064feef..9dd5b25a1d53 100644 --- a/scripts/Makefile +++ b/scripts/Makefile | |||
@@ -21,6 +21,7 @@ hostprogs-y += unifdef | |||
21 | subdir-$(CONFIG_MODVERSIONS) += genksyms | 21 | subdir-$(CONFIG_MODVERSIONS) += genksyms |
22 | subdir-y += mod | 22 | subdir-y += mod |
23 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux | 23 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux |
24 | subdir-$(CONFIG_DTC) += dtc | ||
24 | 25 | ||
25 | # Let clean descend into subdirs | 26 | # Let clean descend into subdirs |
26 | subdir- += basic kconfig package selinux | 27 | subdir- += basic kconfig package selinux |
diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile new file mode 100644 index 000000000000..01cdb36fc583 --- /dev/null +++ b/scripts/dtc/Makefile | |||
@@ -0,0 +1,54 @@ | |||
1 | # scripts/dtc makefile | ||
2 | |||
3 | hostprogs-y := dtc | ||
4 | always := $(hostprogs-y) | ||
5 | |||
6 | dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \ | ||
7 | srcpos.o checks.o | ||
8 | dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o | ||
9 | |||
10 | # Source files need to get at the userspace version of libfdt_env.h to compile | ||
11 | |||
12 | HOSTCFLAGS_DTC := -I$(src) -I$(src)/libfdt | ||
13 | |||
14 | HOSTCFLAGS_checks.o := $(HOSTCFLAGS_DTC) | ||
15 | HOSTCFLAGS_data.o := $(HOSTCFLAGS_DTC) | ||
16 | HOSTCFLAGS_dtc.o := $(HOSTCFLAGS_DTC) | ||
17 | HOSTCFLAGS_flattree.o := $(HOSTCFLAGS_DTC) | ||
18 | HOSTCFLAGS_fstree.o := $(HOSTCFLAGS_DTC) | ||
19 | HOSTCFLAGS_livetree.o := $(HOSTCFLAGS_DTC) | ||
20 | HOSTCFLAGS_srcpos.o := $(HOSTCFLAGS_DTC) | ||
21 | HOSTCFLAGS_treesource.o := $(HOSTCFLAGS_DTC) | ||
22 | |||
23 | HOSTCFLAGS_dtc-lexer.lex.o := $(HOSTCFLAGS_DTC) | ||
24 | HOSTCFLAGS_dtc-parser.tab.o := $(HOSTCFLAGS_DTC) | ||
25 | |||
26 | # dependencies on generated files need to be listed explicitly | ||
27 | $(obj)/dtc-parser.tab.o: $(obj)/dtc-parser.tab.c $(obj)/dtc-parser.tab.h | ||
28 | $(obj)/dtc-lexer.lex.o: $(obj)/dtc-lexer.lex.c $(obj)/dtc-parser.tab.h | ||
29 | |||
30 | targets += dtc-parser.tab.c dtc-lexer.lex.c | ||
31 | |||
32 | clean-files += dtc-parser.tab.h | ||
33 | |||
34 | # GENERATE_PARSER := 1 # Uncomment to rebuild flex/bison output | ||
35 | |||
36 | ifdef GENERATE_PARSER | ||
37 | |||
38 | BISON = bison | ||
39 | FLEX = flex | ||
40 | |||
41 | quiet_cmd_bison = BISON $@ | ||
42 | cmd_bison = $(BISON) -o$@ -d $<; cp $@ $@_shipped | ||
43 | quiet_cmd_flex = FLEX $@ | ||
44 | cmd_flex = $(FLEX) -o$@ $<; cp $@ $@_shipped | ||
45 | |||
46 | $(obj)/dtc-parser.tab.c: $(src)/dtc-parser.y FORCE | ||
47 | $(call if_changed,bison) | ||
48 | |||
49 | $(obj)/dtc-parser.tab.h: $(obj)/dtc-parser.tab.c | ||
50 | |||
51 | $(obj)/dtc-lexer.lex.c: $(src)/dtc-lexer.l FORCE | ||
52 | $(call if_changed,flex) | ||
53 | |||
54 | endif | ||
diff --git a/arch/powerpc/boot/dtc-src/Makefile.dtc b/scripts/dtc/Makefile.dtc index 6ddf9ecac669..6ddf9ecac669 100644 --- a/arch/powerpc/boot/dtc-src/Makefile.dtc +++ b/scripts/dtc/Makefile.dtc | |||
diff --git a/arch/powerpc/boot/dtc-src/checks.c b/scripts/dtc/checks.c index 95485796f253..95485796f253 100644 --- a/arch/powerpc/boot/dtc-src/checks.c +++ b/scripts/dtc/checks.c | |||
diff --git a/arch/powerpc/boot/dtc-src/data.c b/scripts/dtc/data.c index dd2e3d39d4c1..dd2e3d39d4c1 100644 --- a/arch/powerpc/boot/dtc-src/data.c +++ b/scripts/dtc/data.c | |||
diff --git a/arch/powerpc/boot/dtc-src/dtc-lexer.l b/scripts/dtc/dtc-lexer.l index 44dbfd3f0976..44dbfd3f0976 100644 --- a/arch/powerpc/boot/dtc-src/dtc-lexer.l +++ b/scripts/dtc/dtc-lexer.l | |||
diff --git a/arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped b/scripts/dtc/dtc-lexer.lex.c_shipped index ac392cb040f6..ac392cb040f6 100644 --- a/arch/powerpc/boot/dtc-src/dtc-lexer.lex.c_shipped +++ b/scripts/dtc/dtc-lexer.lex.c_shipped | |||
diff --git a/arch/powerpc/boot/dtc-src/dtc-parser.tab.c_shipped b/scripts/dtc/dtc-parser.tab.c_shipped index 27129377e5d2..27129377e5d2 100644 --- a/arch/powerpc/boot/dtc-src/dtc-parser.tab.c_shipped +++ b/scripts/dtc/dtc-parser.tab.c_shipped | |||
diff --git a/arch/powerpc/boot/dtc-src/dtc-parser.tab.h_shipped b/scripts/dtc/dtc-parser.tab.h_shipped index ba99100d55c9..ba99100d55c9 100644 --- a/arch/powerpc/boot/dtc-src/dtc-parser.tab.h_shipped +++ b/scripts/dtc/dtc-parser.tab.h_shipped | |||
diff --git a/arch/powerpc/boot/dtc-src/dtc-parser.y b/scripts/dtc/dtc-parser.y index b2ab562420ea..b2ab562420ea 100644 --- a/arch/powerpc/boot/dtc-src/dtc-parser.y +++ b/scripts/dtc/dtc-parser.y | |||
diff --git a/arch/powerpc/boot/dtc-src/dtc.c b/scripts/dtc/dtc.c index d8fd43b4ac1a..d8fd43b4ac1a 100644 --- a/arch/powerpc/boot/dtc-src/dtc.c +++ b/scripts/dtc/dtc.c | |||
diff --git a/arch/powerpc/boot/dtc-src/dtc.h b/scripts/dtc/dtc.h index 08d54c870086..08d54c870086 100644 --- a/arch/powerpc/boot/dtc-src/dtc.h +++ b/scripts/dtc/dtc.h | |||
diff --git a/arch/powerpc/boot/dtc-src/flattree.c b/scripts/dtc/flattree.c index 76acd28c068d..76acd28c068d 100644 --- a/arch/powerpc/boot/dtc-src/flattree.c +++ b/scripts/dtc/flattree.c | |||
diff --git a/arch/powerpc/boot/dtc-src/fstree.c b/scripts/dtc/fstree.c index 766b2694d935..766b2694d935 100644 --- a/arch/powerpc/boot/dtc-src/fstree.c +++ b/scripts/dtc/fstree.c | |||
diff --git a/arch/powerpc/boot/libfdt/Makefile.libfdt b/scripts/dtc/libfdt/Makefile.libfdt index 6c42acfa21ec..6c42acfa21ec 100644 --- a/arch/powerpc/boot/libfdt/Makefile.libfdt +++ b/scripts/dtc/libfdt/Makefile.libfdt | |||
diff --git a/arch/powerpc/boot/libfdt/fdt.c b/scripts/dtc/libfdt/fdt.c index 2acaec5923ae..2acaec5923ae 100644 --- a/arch/powerpc/boot/libfdt/fdt.c +++ b/scripts/dtc/libfdt/fdt.c | |||
diff --git a/arch/powerpc/boot/libfdt/fdt.h b/scripts/dtc/libfdt/fdt.h index 48ccfd910000..48ccfd910000 100644 --- a/arch/powerpc/boot/libfdt/fdt.h +++ b/scripts/dtc/libfdt/fdt.h | |||
diff --git a/arch/powerpc/boot/libfdt/fdt_ro.c b/scripts/dtc/libfdt/fdt_ro.c index fbbba44fcd0d..fbbba44fcd0d 100644 --- a/arch/powerpc/boot/libfdt/fdt_ro.c +++ b/scripts/dtc/libfdt/fdt_ro.c | |||
diff --git a/arch/powerpc/boot/libfdt/fdt_rw.c b/scripts/dtc/libfdt/fdt_rw.c index 8e7ec4cb7bcd..8e7ec4cb7bcd 100644 --- a/arch/powerpc/boot/libfdt/fdt_rw.c +++ b/scripts/dtc/libfdt/fdt_rw.c | |||
diff --git a/arch/powerpc/boot/libfdt/fdt_strerror.c b/scripts/dtc/libfdt/fdt_strerror.c index e6c3ceee8c58..e6c3ceee8c58 100644 --- a/arch/powerpc/boot/libfdt/fdt_strerror.c +++ b/scripts/dtc/libfdt/fdt_strerror.c | |||
diff --git a/arch/powerpc/boot/libfdt/fdt_sw.c b/scripts/dtc/libfdt/fdt_sw.c index 698329e0ccaf..698329e0ccaf 100644 --- a/arch/powerpc/boot/libfdt/fdt_sw.c +++ b/scripts/dtc/libfdt/fdt_sw.c | |||
diff --git a/arch/powerpc/boot/libfdt/fdt_wip.c b/scripts/dtc/libfdt/fdt_wip.c index a4652c6e787e..a4652c6e787e 100644 --- a/arch/powerpc/boot/libfdt/fdt_wip.c +++ b/scripts/dtc/libfdt/fdt_wip.c | |||
diff --git a/arch/powerpc/boot/libfdt/libfdt.h b/scripts/dtc/libfdt/libfdt.h index ce80e4fb41b2..ce80e4fb41b2 100644 --- a/arch/powerpc/boot/libfdt/libfdt.h +++ b/scripts/dtc/libfdt/libfdt.h | |||
diff --git a/arch/powerpc/boot/dtc-src/libfdt_env.h b/scripts/dtc/libfdt/libfdt_env.h index 449bf602daf1..449bf602daf1 100644 --- a/arch/powerpc/boot/dtc-src/libfdt_env.h +++ b/scripts/dtc/libfdt/libfdt_env.h | |||
diff --git a/arch/powerpc/boot/libfdt/libfdt_internal.h b/scripts/dtc/libfdt/libfdt_internal.h index 46eb93e4af5c..46eb93e4af5c 100644 --- a/arch/powerpc/boot/libfdt/libfdt_internal.h +++ b/scripts/dtc/libfdt/libfdt_internal.h | |||
diff --git a/arch/powerpc/boot/dtc-src/livetree.c b/scripts/dtc/livetree.c index 0ca3de550b3f..0ca3de550b3f 100644 --- a/arch/powerpc/boot/dtc-src/livetree.c +++ b/scripts/dtc/livetree.c | |||
diff --git a/arch/powerpc/boot/dtc-src/srcpos.c b/scripts/dtc/srcpos.c index 9641b7628b4d..9641b7628b4d 100644 --- a/arch/powerpc/boot/dtc-src/srcpos.c +++ b/scripts/dtc/srcpos.c | |||
diff --git a/arch/powerpc/boot/dtc-src/srcpos.h b/scripts/dtc/srcpos.h index e17c7c04db8e..e17c7c04db8e 100644 --- a/arch/powerpc/boot/dtc-src/srcpos.h +++ b/scripts/dtc/srcpos.h | |||
diff --git a/arch/powerpc/boot/dtc-src/treesource.c b/scripts/dtc/treesource.c index ebeb6eb27907..ebeb6eb27907 100644 --- a/arch/powerpc/boot/dtc-src/treesource.c +++ b/scripts/dtc/treesource.c | |||
diff --git a/arch/powerpc/boot/dtc-src/version_gen.h b/scripts/dtc/version_gen.h index 658ff42429d6..658ff42429d6 100644 --- a/arch/powerpc/boot/dtc-src/version_gen.h +++ b/scripts/dtc/version_gen.h | |||