Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libfdt: Export overlay_apply_node() as fdt_overlay_apply_node() #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions libfdt/fdt_overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,3 +880,8 @@ int fdt_overlay_apply(void *fdt, void *fdto)

return ret;
}

int fdt_overlay_apply_node(void *fdt, int target, void *fdto, int node)
{
return overlay_apply_node(fdt, target, fdto, node);
}
7 changes: 7 additions & 0 deletions libfdt/libfdt.h
Original file line number Diff line number Diff line change
Expand Up @@ -2067,6 +2067,13 @@ int fdt_del_node(void *fdt, int nodeoffset);
*/
int fdt_overlay_apply(void *fdt, void *fdto);

/**
* fdt_overlay_apply_node - Merges a node into the base device tree
*
* See overlay_apply_node() for details.
*/
int fdt_overlay_apply_node(void *fdt, int target, void *fdto, int node);

/**********************************************************************/
/* Debugging / informational functions */
/**********************************************************************/
Expand Down