aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host/raven.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-host/raven.c')
-rw-r--r--hw/pci-host/raven.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pci-host/raven.c b/hw/pci-host/raven.c
index 918a323..e3d8d20 100644
--- a/hw/pci-host/raven.c
+++ b/hw/pci-host/raven.c
@@ -357,8 +357,8 @@ static void raven_realize(PCIDevice *d, Error **errp)
if (filename) {
if (s->elf_machine != EM_NONE) {
bios_size = load_elf(filename, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, 1, s->elf_machine,
- 0, 0);
+ NULL, NULL, NULL,
+ ELFDATA2MSB, s->elf_machine, 0, 0);
}
if (bios_size < 0) {
bios_size = get_image_size(filename);