]> Git Repo - u-boot.git/commit
fdt_support: Add some useful functions
authorMarek Behún <[email protected]>
Fri, 26 Nov 2021 13:57:10 +0000 (14:57 +0100)
committerStefan Roese <[email protected]>
Sun, 19 Dec 2021 08:50:47 +0000 (09:50 +0100)
commit9ab0c2f837241b819b23cbb5d48fa43acc2938d5
tree7274860398816aa71ee957aa8c8b443f7e3c0aa5
parentc92ccba7710b3f5fbeebced9cad57f24c940b834
fdt_support: Add some useful functions

Add functions
  fdt_node_offset_by_pathf(),
  fdt_create_phandle_by_pathf(),
  fdt_set_status_by_pathf()
to get node offset, get/create node phandle and set status for node
given by path/alias formatted with sprintf.

Add functions
  fdt_create_phandle_by_compatible(),
  fdt_set_status_by_compatible()
to get/create node phandle and set status for first node given by
compatible.

Signed-off-by: Marek Behún <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
common/fdt_support.c
include/fdt_support.h
This page took 0.034943 seconds and 4 git commands to generate.