qemu-e2k/hw/sparc
KONRAD Frederic bd30132cd8 leon3: fix the error message when no bios are provided
The leon3 board is looking for u-boot.bin by default (LEON3_PROM_FILENAME)..
But in the case this file is not found and no other file are given on the
command line we get the following error:

  $ ./qemu-system-sparc -M leon3_generic
  qemu-system-sparc: Can't read bios image (null)

So use LEON3_PROM_FILENAME instead of filename in case it is NULL to get a
less cryptic message:

  $ ./qemu-system-sparc -M leon3_generic
  qemu-system-sparc: Can't read bios image 'u-boot.bin'

Suggested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2019-05-17 09:17:11 +01:00
..
Kconfig sparc-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
leon3.c leon3: fix the error message when no bios are provided 2019-05-17 09:17:11 +01:00
Makefile.objs hw/sparc/Makefile.objs: CONFIG_* for sun4m and leon3 created 2019-02-05 16:50:20 +01:00
sun4m_iommu.c
sun4m.c qemu-sparc queue 2019-02-07 16:49:30 +00:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00