Lines Matching +full:on +full:- +full:die
1 // SPDX-License-Identifier: GPL-2.0-or-later
21 int generate_fixups; /* suppress generation of fixups on symbol support */
22 int auto_label_aliases; /* auto generate labels -> aliases */
28 return (x > 0) && ((x & (x - 1)) == 0); in is_power_of_2()
36 tree->fullpath = join_path(prefix, tree->name); in fill_fullpaths()
38 unit = strchr(tree->name, '@'); in fill_fullpaths()
40 tree->basenamelen = unit - tree->name; in fill_fullpaths()
42 tree->basenamelen = strlen(tree->name); in fill_fullpaths()
45 fill_fullpaths(child, tree->fullpath); in fill_fullpaths()
53 {"in-format", a_argument, NULL, 'I'},
55 {"out-format", a_argument, NULL, 'O'},
56 {"out-version", a_argument, NULL, 'V'},
57 {"out-dependency", a_argument, NULL, 'd'},
62 {"boot-cpu", a_argument, NULL, 'b'},
70 {"auto-alias", no_argument, NULL, 'A'},
77 "\n\tQuiet: -q suppress warnings, -qq errors, -qqq all",
79 "\t\tdts - device tree source text\n"
80 "\t\tdtb - device tree blob\n"
81 "\t\tfs - /proc/device-tree style directory",
84 "\t\tdts - device tree source text\n"
85 "\t\tdtb - device tree blob\n"
87 "\t\tyaml - device tree encoded as YAML\n"
89 "\t\tasm - assembler source",
101 "\t\tlegacy - \"linux,phandle\" properties only\n"
102 "\t\tepapr - \"phandle\" properties only\n"
103 "\t\tboth - Both \"linux,phandle\" and \"phandle\" properties",
104 "\n\tEnable/disable warnings (prefix with \"no-\")",
105 "\n\tEnable/disable errors (prefix with \"no-\")",
107 "\n\tEnable auto-alias of labels",
108 "\n\tAnnotate output .dts with input source file and line (-T -T for more details)",
165 const char *outname = "-"; in main()
172 long long cmdline_boot_cpuid = -1; in main()
209 die("Invalid argument \"%d\" to -a option\n", in main()
234 die("Invalid argument \"%s\" to -H option\n", in main()
270 arg = "-"; in main()
276 die("Can't set both -p and -S\n"); in main()
281 die("Couldn't open dependency file %s: %s\n", depname, in main()
298 die("--annotate requires -I dts -O dts\n"); in main()
306 die("Unknown input format \"%s\"\n", inform); in main()
308 dti->outname = outname; in main()
315 if (cmdline_boot_cpuid != -1) in main()
316 dti->boot_cpuid_phys = cmdline_boot_cpuid; in main()
318 fill_fullpaths(dti->dt, ""); in main()
320 /* on a plugin, generate by default */ in main()
321 if (dti->dtsflags & DTSF_PLUGIN) { in main()
341 if (streq(outname, "-")) { in main()
346 die("Couldn't open output file %s: %s\n", in main()
355 die("YAML output format requires dts input format\n"); in main()
365 die("Unknown output format \"%s\"\n", outform); in main()