mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
abf8361cf7
commit
2990bf5da7
6 changed files with 11 additions and 18 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue