Deleted Added
full compact
41c41
< #define debug(fmt,args...) printf(fmt, ##args)
---
> #define debug(...) printf(__VA_ARGS__)
43c43
< #define debug(fmt,args...)
---
> #define debug(...)
55a56
> extern int alignsize; /* Additional padding to blob accroding to the alignsize */
56a58,60
> extern int generate_symbols; /* generate symbols for nodes with labels */
> extern int generate_fixups; /* generate fixups */
> extern int auto_label_aliases; /* auto generate labels -> aliases */
91c95
< #define empty_data ((struct data){ /* all .members = 0 or NULL */ })
---
> #define empty_data ((struct data){ 0 /* all .members = 0 or NULL */ })
203a208,209
> void append_to_property(struct node *node,
> char *name, const void *data, int len);
238c244,245
< struct boot_info {
---
> struct dt_info {
> unsigned int dtsflags;
240d246
< struct node *dt; /* the device tree */
241a248,249
> struct node *dt; /* the device tree */
> const char *outname; /* filename being written to, "-" for stdout */
244,246c252,254
< struct boot_info *build_boot_info(struct reserve_info *reservelist,
< struct node *tree, uint32_t boot_cpuid_phys);
< void sort_tree(struct boot_info *bi);
---
> /* DTS version flags definitions */
> #define DTSF_V1 0x0001 /* /dts-v1/ */
> #define DTSF_PLUGIN 0x0002 /* /plugin/ */
247a256,263
> struct dt_info *build_dt_info(unsigned int dtsflags,
> struct reserve_info *reservelist,
> struct node *tree, uint32_t boot_cpuid_phys);
> void sort_tree(struct dt_info *dti);
> void generate_label_tree(struct dt_info *dti, char *name, bool allocph);
> void generate_fixups_tree(struct dt_info *dti, char *name);
> void generate_local_fixups_tree(struct dt_info *dti, char *name);
>
250,251c266,267
< void parse_checks_option(bool warn, bool error, const char *optarg);
< void process_checks(bool force, struct boot_info *bi);
---
> void parse_checks_option(bool warn, bool error, const char *arg);
> void process_checks(bool force, struct dt_info *dti);
255,256c271,272
< void dt_to_blob(FILE *f, struct boot_info *bi, int version);
< void dt_to_asm(FILE *f, struct boot_info *bi, int version);
---
> void dt_to_blob(FILE *f, struct dt_info *dti, int version);
> void dt_to_asm(FILE *f, struct dt_info *dti, int version);
258c274
< struct boot_info *dt_from_blob(const char *fname);
---
> struct dt_info *dt_from_blob(const char *fname);
262,263c278,279
< void dt_to_source(FILE *f, struct boot_info *bi);
< struct boot_info *dt_from_source(const char *f);
---
> void dt_to_source(FILE *f, struct dt_info *dti);
> struct dt_info *dt_from_source(const char *f);
267c283
< struct boot_info *dt_from_fs(const char *dirname);
---
> struct dt_info *dt_from_fs(const char *dirname);