Recognize virtio0 as a valid boot device (target) and
set other necessary variables accordingly.
Change-Id: Ia6afb47713074da7382c62f6d65da7bd27a80f7e
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-# U-boot script for tizen VF2
+# U-boot script for tizen VF2 and QEMU
+if test "${target}" = "virtio0"; then;
+ setenv devtype virtio
+fi
if test "${target}" = "mmc0" -o "${target}" = "mmc1"; then;
setenv devtype mmc
fi
if test "${devtype}" = "usb"; then;
setenv rootdev sda${rootpart}
fi
+ if test "${devtype}" = "virtio"; then;
+ setenv rootdev vda${rootpart}
+ fi
setenv bootmode normal
fi