diff options
author | Simon Glass <sjg@chromium.org> | 2015-06-23 15:38:28 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 17:39:20 -0600 |
commit | 1043d0a0296a8580fd497a2eb1f411eb07ba98c1 (patch) | |
tree | d0ba49124779a39bcb4dc0a9050c1e3211ac5d63 /MAINTAINERS | |
parent | c3c4c00563abfca63f5b846f4f4f6fc390e58563 (diff) | |
download | u-boot-1043d0a0296a8580fd497a2eb1f411eb07ba98c1.tar.gz u-boot-1043d0a0296a8580fd497a2eb1f411eb07ba98c1.tar.bz2 u-boot-1043d0a0296a8580fd497a2eb1f411eb07ba98c1.zip |
fdt: Add fdtgrep tool
This tool allows us to extract subsets of a device tree file. It is used by
the SPL vuild, which needs to cut down the device tree size for use in
limited memory.
This tool was originally written for libfdt but it has not been accepted
upstream, so for now, include it in U-Boot. Several utilfdt library
functions been included inline here.
If fdtgrep is eventually accepted in libfdt then we can bring that version
of libfdt in here, and drop fdtgrep (requiring that fdtgrep is provided by
the user).
If it is not accepted then another approach would be to write a special
tool for chopping down device tree files for SPL. While it would use the
same libfdt support, it would be less code than fdtgrep.c because it would
not have general-purpose functions.
Another approach (which was used with v1 of this series) is to sprinkler all
the device tree files with #ifdef. I don't like that idea.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions