diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-01-09 12:53:05 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-01-12 17:03:14 +0000 |
commit | 2990bf5da74c43f228cba85484e5e1341a0763c7 (patch) | |
tree | 9e29812289e458aa04d5dfd7e27ed90493050af3 /hw/arm/gumstix.c | |
parent | abf8361cf7bb235fc987509df8a08476ce5478b7 (diff) | |
download | qemu-2990bf5da74c43f228cba85484e5e1341a0763c7.zip qemu-2990bf5da74c43f228cba85484e5e1341a0763c7.tar.gz qemu-2990bf5da74c43f228cba85484e5e1341a0763c7.tar.bz2 |
hw/arm/pxa2xx: Simplify pxa270_init()
Since pxa270_init() must map the device in the system memory,
there is no point in passing get_system_memory() by argument.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230109115316.2235-3-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/gumstix.c')
-rw-r--r-- | hw/arm/gumstix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/arm/gumstix.c b/hw/arm/gumstix.c index c167518..ab9b018 100644 --- a/hw/arm/gumstix.c +++ b/hw/arm/gumstix.c @@ -80,12 +80,11 @@ static void verdex_init(MachineState *machine) { PXA2xxState *cpu; DriveInfo *dinfo; - MemoryRegion *address_space_mem = get_system_memory(); uint32_t verdex_rom = 0x02000000; uint32_t verdex_ram = 0x10000000; - cpu = pxa270_init(address_space_mem, verdex_ram, machine->cpu_type); + cpu = pxa270_init(verdex_ram, machine->cpu_type); dinfo = drive_get(IF_PFLASH, 0, 0); if (!dinfo && !qtest_enabled()) { |