Skip to content

Commit

Permalink
BCM270X_DT: Don't generate "linux,phandle" props
Browse files Browse the repository at this point in the history
The EPAPR standard says to use "phandle" properties to store phandles,
rather than the deprecated "linux,phandle" version. By default, dtc
generates both, but adding "-H epapr" causes it to only generate
"phandle"s, saving some space and clutter.

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
Phil Elwell committed Apr 8, 2016
1 parent 71ddb1c commit a4e16ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -813,5 +813,5 @@ clean-files := *.dtb

# Enable fixups to support overlays on BCM2708 platforms
ifeq ($(RPI_DT_OVERLAYS),y)
DTC_FLAGS ?= -@
DTC_FLAGS ?= -@ -H epapr
endif
2 changes: 1 addition & 1 deletion scripts/Makefile.lib
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ $(obj)/%.dtb: $(src)/%.dts FORCE

quiet_cmd_dtco = DTCO $@
cmd_dtco = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
$(objtree)/scripts/dtc/dtc -@ -O dtb -o $@ -b 0 \
$(objtree)/scripts/dtc/dtc -@ -H epapr -O dtb -o $@ -b 0 \
-i $(dir $<) $(DTC_FLAGS) \
-d $(depfile).dtc.tmp $(dtc-tmp) ; \
cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
Expand Down

0 comments on commit a4e16ff

Please sign in to comment.