Revert "armv7m: Guard against no -kernel argument"
commitc38c37ac979c54b09293eb11061aa0e534e0f3bf
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 7 Jan 2019 15:23:46 +0000 (7 15:23 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Jan 2019 15:23:46 +0000 (7 15:23 +0000)
tree11c10c8ee61f7ab7eed1b86286cf732057a49777
parent816fd397a116b3a3850bcc4e3f66e15981a4bae8
Revert "armv7m: Guard against no -kernel argument"

This reverts commit 01fd41ab3fb69971c24a69ed49cde96086d81278.

The generic loader device (-device loader,file=kernel.bin) can be used
to load a kernel instead of the -kernel option.  Some boards have flash
memory (pflash) that is set via the -pflash or -drive options.

Allow starting QEMU without the -kernel option to accommodate these
scenarios.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190103144124.18917-1-stefanha@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/armv7m.c