firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-scripts_dtc_fstree.c....

20 lines
590 B
Diff

diff -drupN a/scripts/dtc/fstree.c b/scripts/dtc/fstree.c
--- a/scripts/dtc/fstree.c 2018-08-06 17:23:04.000000000 +0300
+++ b/scripts/dtc/fstree.c 2022-06-12 05:28:14.000000000 +0300
@@ -79,13 +79,12 @@ static struct node *read_fstree(const ch
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(NULL, tree, guess_boot_cpuid(tree));
+ return build_dt_info(DTSF_V1, NULL, tree, guess_boot_cpuid(tree));
}
-