]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/Conf: disable DTC legacy phandle format
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 5 Jan 2018 09:24:22 +0000 (09:24 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 6 Feb 2018 09:58:31 +0000 (09:58 +0000)
commit34a4ddda4d61ede41f575510dc5adcf933d3b6f5
tree15216bed0be200a668bb7544533c9c9e487e25be
parent4887443e4f03ec42ba422483f191ffe25a78eb3d
BaseTools/Conf: disable DTC legacy phandle format

By default, the device tree compiler emits phandle properties twice:
once called 'phandle' and again called 'linux,phandle'. Given that
Linux was updated in early 2010 [0] to accept the former (which is
what is specified in the ePAPR and device tree specifications), there
is no point in emitting both when compiling device trees for UEFI
platforms.

[0] 04b954a673dd02f585a2769c4945a43880faa989
"of/flattree: Make the kernel accept ePAPR style phandle information"

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/build_rule.template
BaseTools/Conf/tools_def.template