Commit Graph

5 Commits

Author SHA1 Message Date
cwz d807358c86 libfdt: add api fdt_node_offset_by_phandle_node() find node with phandle and start node.
Change-Id: I3d7c710367005510ed936e75863f9d3685cb4bc5
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: cwz <cwz@rock-chips.com>
2017-10-11 15:55:17 +08:00
yxj f82d121178 libfdt: add function fdt_device_is_available
Change-Id: Ia6c727e246339107c280f715d0e35edd54ce6dc3
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: yxj <yxj@rock-chips.com>
2017-10-11 15:55:16 +08:00
Simon Glass 1b0ab182b4 fdt: Sync libfdt up to upstream
Add upstream changes to U-Boot:

- new pylibfdt functions
- fdt_setprop_placeholder()

Signed-off-by: Simon Glass <sjg@chromium.org>
2017-09-12 16:04:35 +08:00
Simon Glass 2bf94120e9 libfdt: Drop -FDT_ERR_TOODEEP
This error code has not been upstreamed and is not really needed since it
is unlikely to be triggered. Drop it to maintain compatability with
upstream.

Reported-by: Peter Robinson <pbrobinson@gmail.com>

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
2017-07-10 08:39:24 -04:00
Simon Glass a2b2caae5a fdt: Move header files into lib/libfdt
These header files are actually part of libfdt. Move them there to make
it easier to build pylibfdt and easier to merge changes from upstream.

Update the license header to use SPDX at the same time.

Signed-off-by: Simon Glass <sjg@chromium.org>
2017-06-02 10:16:46 -06:00