Revision 1eec614b device_tree.c
b/device_tree.c | ||
---|---|---|
43 | 43 |
|
44 | 44 |
/* First allocate space in qemu for device tree */ |
45 | 45 |
dt_file = qemu_mallocz(dt_file_size); |
46 |
if (dt_file == NULL) { |
|
47 |
printf("Unable to allocate memory in qemu for device tree\n"); |
|
48 |
goto fail; |
|
49 |
} |
|
50 | 46 |
|
51 | 47 |
dt_file_load_size = load_image(filename_path, dt_file); |
52 | 48 |
|
Also available in: Unified diff