BCM270X_DT: Don't generate "linux,phandle" props

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 <phil@raspberrypi.org>
This commit is contained in:
Phil Elwell
2016-04-08 17:43:27 +01:00
committed by popcornmix
parent b45d075e4e
commit f37ed239bf
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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)