mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
hw/ppc/40p: Move the MC146818 RTC to the board where it belongs
The MC146818 RTC was incorrectly added to the i82378 chipset in commita04ff94097
. In the next commit (506b7ddf88
) the PReP machine use the i82378. Since the MC146818 is specific to the PReP machine, move its use there. Fixes:a04ff94097
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190505152839.18650-3-philmd@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
c50be9e1ec
commit
2e8f85189d
2 changed files with 3 additions and 4 deletions
|
@ -675,6 +675,9 @@ static void ibm_40p_init(MachineState *machine)
|
|||
qdev_prop_set_uint32(dev, "ram-size", machine->ram_size);
|
||||
qdev_init_nofail(dev);
|
||||
|
||||
/* RTC */
|
||||
isa_create_simple(isa_bus, TYPE_MC146818_RTC);
|
||||
|
||||
/* initialize CMOS checksums */
|
||||
cmos_checksum = 0x6aa9;
|
||||
qbus_walk_children(BUS(isa_bus), prep_set_cmos_checksum, NULL, NULL, NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue