]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: don't set linux,phandle
authorJohn Keeping <john@metanate.com>
Wed, 20 Apr 2022 10:31:11 +0000 (11:31 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 May 2022 20:34:07 +0000 (16:34 -0400)
commit9ac4c2bfe9f502549362c6d394c7024236146a5b
treed23bd81722297b0febeb84ec7db4d4b23020702b
parentb6b6a906469ab11f460b493a5ecca8160393bfad
fdt: don't set linux,phandle

This has been deprecated for over 10 years and everything now uses the
plain "phandle" property in preference.  There's no need to set
linux,phandle when creating phandles for nodes that do not have one.

dtc changed the default to creating just phandle in version 1.4.5
released in September 2017 with the justification that the new style had
already been supported for 7 years by that point (see dtc commit 0016f8c
("dtc: change default phandles to ePAPR style instead of both")).

Signed-off-by: John Keeping <john@metanate.com>
common/fdt_support.c