SLOF does not exit if given 1KB disk

When passing a 1KB disk, it goes on looping inside the deblocker,
ignoring the unability of driver to read from out-of-bound blocks.

Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Find next available alias name

This patch generaliazes the device alias name enumeration for all scsi disks, virtio-blk
disks and network devices.

Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Fix missing drop in virtio-fs setup-alias

Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
dhcpv6 and other minor net-snk fixes

Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Add bswap_{16,32,64}p

Add byte swap macros that take a pointer and byte swap
in place.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Add support for loading little endian ELF binaries.

We byte swap the entire header in place in elf_check_file.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
cas: remove warning

Since client-architecture-support is not support by the mainline QEMU yet,
this warning might be confusing so remove it.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
use VERSION file to generate FW version

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>