aboutsummaryrefslogtreecommitdiff
path: root/hdata
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-04-06 14:01:57 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-04-07 14:51:34 +1000
commit510e2b066b172a4b46e18315ddac30721b5a7526 (patch)
treeca54208f3e3b3e85db3bb79461c9101e47e4e40b /hdata
parent47a4831befa13e8fa4da0529a233415e5a43ac5f (diff)
downloadskiboot-510e2b066b172a4b46e18315ddac30721b5a7526.zip
skiboot-510e2b066b172a4b46e18315ddac30721b5a7526.tar.gz
skiboot-510e2b066b172a4b46e18315ddac30721b5a7526.tar.bz2
device: add dt_find_by_name_addr
Adds two helper functions that allow device nodes to be found via their name and unit address. One will take an integer address and format it to a hex string while the other looks up the unit based a user supplied string. This is handy in a few places inside the HDAT parser. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
0 files changed, 0 insertions, 0 deletions