summaryrefslogtreecommitdiffstats
path: root/hw/xtensa/xtfpga.c
diff options
context:
space:
mode:
authorPeter Maydell2020-09-28 17:49:10 +0200
committerPeter Maydell2020-09-28 17:49:10 +0200
commit74504514b154ebebdff577d88e4bf5c13074e9ed (patch)
treed94d264f606b98303f9467c1472f447a6b3ae53e /hw/xtensa/xtfpga.c
parentMerge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-for-5.2-pul... (diff)
parentcore/register: Specify instance_size in the TypeInfo (diff)
downloadqemu-74504514b154ebebdff577d88e4bf5c13074e9ed.tar.gz
qemu-74504514b154ebebdff577d88e4bf5c13074e9ed.tar.xz
qemu-74504514b154ebebdff577d88e4bf5c13074e9ed.zip
Merge remote-tracking branch 'remotes/alistair/tags/pull-register-20200927' into staging
Two small patches. One with a fix for the register API instance_size and one for removing unused address variables from load_elf. # gpg: Signature made Sun 27 Sep 2020 14:45:06 BST # gpg: using RSA key F6C4AC46D4934868D3B8CE8F21E10D29DF977054 # gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [full] # Primary key fingerprint: F6C4 AC46 D493 4868 D3B8 CE8F 21E1 0D29 DF97 7054 * remotes/alistair/tags/pull-register-20200927: core/register: Specify instance_size in the TypeInfo load_elf: Remove unused address variables from callers Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/xtensa/xtfpga.c')
-rw-r--r--hw/xtensa/xtfpga.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.c
index 10de15855a..b1470b88e6 100644
--- a/hw/xtensa/xtfpga.c
+++ b/hw/xtensa/xtfpga.c
@@ -413,9 +413,8 @@ static void xtfpga_init(const XtfpgaBoardDesc *board, MachineState *machine)
env->regs[2] = tagptr;
uint64_t elf_entry;
- uint64_t elf_lowaddr;
int success = load_elf(kernel_filename, NULL, translate_phys_addr, cpu,
- &elf_entry, &elf_lowaddr, NULL, NULL, be, EM_XTENSA, 0, 0);
+ &elf_entry, NULL, NULL, NULL, be, EM_XTENSA, 0, 0);
if (success > 0) {
entry_point = elf_entry;
} else {