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 /include/hw/arm/pxa.h | |
parent | abf8361cf7bb235fc987509df8a08476ce5478b7 (diff) |
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 'include/hw/arm/pxa.h')
-rw-r--r-- | include/hw/arm/pxa.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/arm/pxa.h b/include/hw/arm/pxa.h index c26007e57f..ba8f49e48e 100644 --- a/include/hw/arm/pxa.h +++ b/include/hw/arm/pxa.h @@ -193,8 +193,7 @@ struct PXA2xxI2SState { # define PA_FMT "0x%08lx" -PXA2xxState *pxa270_init(MemoryRegion *address_space, unsigned int sdram_size, - const char *revision); +PXA2xxState *pxa270_init(unsigned int sdram_size, const char *revision); PXA2xxState *pxa255_init(unsigned int sdram_size); #endif /* PXA_H */ |