mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user