diff options
author | Roger Quadros <rogerq@kernel.org> | 2022-02-17 22:18:51 +0200 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2022-02-18 17:59:11 -0600 |
commit | 7471fdf830f4f85e2b331282c39cf070bd9f307a (patch) | |
tree | 6161cd781245da675c53a8a6cd5348d3c5f165af /tools | |
parent | 4c234bdc0ce852e3401b98c672f9e704c285a14b (diff) |
tools/fdtgrep: Include __symbols__ table
This is required for overlays to work at SPL.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/fdtgrep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c index e4112b8f69..0925822940 100644 --- a/tools/fdtgrep.c +++ b/tools/fdtgrep.c @@ -1231,6 +1231,10 @@ int main(int argc, char *argv[]) disp.fout = stdout; } + /* include symbol table */ + if (value_add(&disp, &disp.value_head, FDT_IS_NODE, 1, "/__symbols__")) + usage("Cannot add __symbols__ value"); + /* Run the grep and output the results */ ret = do_fdtgrep(&disp, filename); if (disp.output_fname) |