mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
hw/sparc64/niagara: Map the UART device unconditionally
The UART is present on the machine regardless there is a character device connected to it. Map it unconditionally. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com> Message-Id: <20200608172144.20461-4-f4bug@amsat.org>
This commit is contained in:
parent
acd2a001e0
commit
bec6e07afd
1 changed files with 2 additions and 4 deletions
|
@ -152,10 +152,8 @@ static void niagara_init(MachineState *machine)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (serial_hd(0)) {
|
serial_mm_init(sysmem, NIAGARA_UART_BASE, 0, NULL,
|
||||||
serial_mm_init(sysmem, NIAGARA_UART_BASE, 0, NULL, 115200,
|
115200, serial_hd(0), DEVICE_BIG_ENDIAN);
|
||||||
serial_hd(0), DEVICE_BIG_ENDIAN);
|
|
||||||
}
|
|
||||||
create_unimplemented_device("sun4v-iob", NIAGARA_IOBBASE, NIAGARA_IOBSIZE);
|
create_unimplemented_device("sun4v-iob", NIAGARA_IOBBASE, NIAGARA_IOBSIZE);
|
||||||
sun4v_rtc_init(NIAGARA_RTC_BASE);
|
sun4v_rtc_init(NIAGARA_RTC_BASE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue