moxie: fix load_elf() usage
commit6a2331d12ee7ca9fbcf2a3c22109513ca561a51e
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 4 Feb 2014 04:04:17 +0000 (4 15:04 +1100)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:46 +0000 (5 03:06 +0100)
tree3dd895dbbf67b61e38bf311bd276f43fca89cab2
parent133e70ee8831992e309f74c20084bc50e3bcf8e0
moxie: fix load_elf() usage

At the moment in the case of error, load_elf() returns -1 so load_kernel()
will not signal error at all.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/moxie/moxiesim.c