Lines Matching defs:magic
324 fdt->magic = cpu_to_fdt32(FDT_MAGIC);
465 fprintf(f, "\t/* magic */\n");
799 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys;
817 die("Error reading DT blob magic number: %s\n",
821 die("EOF reading DT blob magic number\n");
823 die("Mysterious short read reading magic number\n");
826 magic = fdt32_to_cpu(magic_buf);
827 if (magic != FDT_MAGIC)
828 die("Blob has incorrect magic number\n");
847 fdt->magic = cpu_to_fdt32(magic);
850 sizeleft = totalsize - sizeof(magic) - sizeof(totalsize);
851 p = blob + sizeof(magic) + sizeof(totalsize);