tools/fdtgrep: Include __symbols__ table

This is required for overlays to work at SPL.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
This commit is contained in:
Roger Quadros 2022-02-17 22:18:51 +02:00 committed by Praneeth Bajjuri
parent 4c234bdc0c
commit 7471fdf830
1 changed files with 4 additions and 0 deletions

View File

@ -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)