Look for the correct image to boot from dynamically

openbmc supports three different types of image to boot from
- UBI based image
- static MTD image
- rootfs.ext image

This commit enables boot-qemu.sh to dynamically discover the
appropriate one and use it.

Change-Id: I52d834f118d1e731740e9e3a1573cc6668f5cef0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2 files changed