Searched refs:root_offset (Results 1 – 2 of 2) sorted by relevance
39 unsigned int root_offset = ROOT_OFFSET; in create_mtd_partitions() local84 root_offset = offset + sizeof(header) + 4; in create_mtd_partitions()92 root_offset = offset + sizeof(header) + 4 + 0xff; in create_mtd_partitions()93 root_offset &= ~(uint32_t)0xff; in create_mtd_partitions()100 mtd_read(master, root_offset, sizeof(header), &len, (u8 *)&header); in create_mtd_partitions()102 root_offset += master->erasesize - 1; in create_mtd_partitions()103 root_offset &= ~(master->erasesize - 1); in create_mtd_partitions()112 ar7_parts[3].offset = root_offset; in create_mtd_partitions()113 ar7_parts[3].size = master->size - root_offset - post_size; in create_mtd_partitions()
52 int root_offset; in of_fdt_limit_memory() local55 root_offset = fdt_path_offset(initial_boot_params, "/"); in of_fdt_limit_memory()56 if (root_offset < 0) in of_fdt_limit_memory()59 addr_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()64 size_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()