diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2016-05-31 11:58:42 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-12-09 16:30:43 +1100 |
commit | 00fbb8696b665ab138406cc9522793f2096031a0 (patch) | |
tree | 9a90007c2f98ea3b0ffccebafda5f358fefd3566 /fstree.c | |
parent | 1ef86ad2c24f67567b1021ca5cb84bea82749f88 (diff) | |
download | dtc-00fbb8696b665ab138406cc9522793f2096031a0.tar.gz |
Rename boot_info
struct boot_info is named that for historical reasons, and isn't
particularly meaningful. Essentially it contains all the information -
in "live" form from a single dts or dtb file. As we move towards support
for dynamic dt overlays, that name will become increasingly bad.
So, in preparation, rename it to dt_info. At the same time rename the
'the_boot_info' global to 'parser_output' since that's its actual purpose.
Unfortunately we do need the global unless we switch to bison's re-entrant
parser extensions, which would introduce its own complications.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'fstree.c')
-rw-r--r-- | fstree.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -79,13 +79,12 @@ static struct node *read_fstree(const char *dirname) return tree; } -struct boot_info *dt_from_fs(const char *dirname) +struct dt_info *dt_from_fs(const char *dirname) { struct node *tree; tree = read_fstree(dirname); tree = name_node(tree, ""); - return build_boot_info(DTSF_V1, NULL, tree, guess_boot_cpuid(tree)); + return build_dt_info(DTSF_V1, NULL, tree, guess_boot_cpuid(tree)); } - |