Lines Matching defs:magic
325 fdt->magic = cpu_to_fdt32(FDT_MAGIC);
466 fprintf(f, "\t/* magic */\n");
800 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys;
818 die("Error reading DT blob magic number: %s\n",
822 die("EOF reading DT blob magic number\n");
824 die("Mysterious short read reading magic number\n");
827 magic = fdt32_to_cpu(magic_buf);
828 if (magic != FDT_MAGIC)
829 die("Blob has incorrect magic number\n");
848 fdt->magic = cpu_to_fdt32(magic);
851 sizeleft = totalsize - sizeof(magic) - sizeof(totalsize);
852 p = blob + sizeof(magic) + sizeof(totalsize);