qemu-e2k/hw/microblaze
Alistair Francis d4c6d3600b microblaze: boot.c: Don't try to find NULL file
Previously if no device tree was passed to microblaze_load_kernel() then
qemu_find_file() would try to find a NULL pointer. To avoid this put a
check around qemu_find_file().

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
2018-01-26 11:09:02 +01:00
..
boot.c microblaze: boot.c: Don't try to find NULL file 2018-01-26 11:09:02 +01:00
boot.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
Makefile.objs Microblaze: Convert Microblaze-pic handling to GPIOs 2014-01-14 11:08:36 +10:00
petalogix_ml605_mmu.c hw: Use new memory_region_init_{ram, rom, rom_device}() functions 2017-07-14 17:59:42 +01:00
petalogix_s3adsp1800_mmu.c hw: Use new memory_region_init_{ram, rom, rom_device}() functions 2017-07-14 17:59:42 +01:00