• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/scripts/dtc/

Lines Matching defs:blob

353 	struct data blob       = empty_data;
365 die("Unknown device tree blob version %d\n", version);
383 "Warning: blob size %d >= minimum size %d\n",
397 * Assemble the blob: start with the header, add with alignment
401 blob = data_append_data(blob, &fdt, vi->hdr_size);
402 blob = data_append_align(blob, 8);
403 blob = data_merge(blob, reservebuf);
404 blob = data_append_zeroes(blob, sizeof(struct fdt_reserve_entry));
405 blob = data_merge(blob, dtbuf);
406 blob = data_merge(blob, strbuf);
409 * If the user asked for more space than is used, pad out the blob.
412 blob = data_append_zeroes(blob, padlen);
414 fwrite(blob.val, blob.len, 1, f);
417 die("Error writing device tree blob: %s\n", strerror(errno));
420 * data_merge() frees the right-hand element so only the blob
423 data_free(blob);
453 die("Unknown device tree blob version %d\n", version);
754 die("Premature FDT_END in device tree blob\n");
766 die("Invalid opcode word %08x in device tree blob\n",
781 char *blob;
796 die("Error reading DT blob magic number: %s\n",
800 die("EOF reading DT blob magic number\n");
811 die("Error reading DT blob size: %s\n", strerror(errno));
814 die("EOF reading DT blob size\n");
816 die("Mysterious short read reading blob size\n");
821 die("DT blob size (%d) is too small\n", totalsize);
823 blob = xmalloc(totalsize);
825 fdt = (struct fdt_header *)blob;
830 p = blob + sizeof(magic) + sizeof(totalsize);
834 die("EOF before reading %d bytes of DT blob\n",
839 die("Error reading DT blob: %s\n",
865 inbuf_init(&strbuf, blob + off_str, blob + off_str + size_str);
867 inbuf_init(&strbuf, blob + off_str, blob + totalsize);
883 blob + off_mem_rsvmap, blob + totalsize);
884 inbuf_init(&dtbuf, blob + off_dt, blob + totalsize);
891 die("Device tree blob doesn't begin with FDT_BEGIN_NODE (begins with 0x%08x)\n", val);
897 die("Device tree blob doesn't end with FDT_END\n");
899 free(blob);