]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fdt: introduce fdt_create_phandle()
authorGerald Van Baren <gvb@unssw.com>
Fri, 15 Jul 2011 01:40:10 +0000 (21:40 -0400)
committerGerald Van Baren <gvb@unssw.com>
Fri, 15 Jul 2011 01:43:45 +0000 (21:43 -0400)
commita8d2a75d729ef0a701258a4b5bfcaf121fa30463
treef0d94cc0ffde9c4268d2779fb0190f0d3fc3e7d9
parentb3606f141e56df972b5caf5e2316d652f0089ee6
fdt: introduce fdt_create_phandle()

The ePAPR specification says that phandle properties should be called
"phandle", and not "linux,phandle".  To facilitate the migration from
"linux,phandle" to "phandle", introduce function fdt_create_phandle(),
which creates a phandle in a given node.  For now, we create both the
"phandle" and "linux,phandle" properties.  A later version of this
function will remove support for "linux,phandle".

Signed-off-by: Timur Tabi <timur@freescale.com>
common/fdt_support.c
include/fdt_support.h