hw/ppc/pegasos2: Let pegasos2 machine configure SuperI/O functions
commit79a7f53065abea95b33e2212dcfb58e1de4be479
authorBernhard Beschow <shentey@gmail.com>
Sun, 14 Jan 2024 12:39:10 +0000 (14 13:39 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 14 Feb 2024 11:09:32 +0000 (14 06:09 -0500)
treef406f029e4d3d01bbcb284c4bffac2e6bcdeebcb
parent1d1afd9ff7264c7ed35f3ca25cc4bf9dd82a6b06
hw/ppc/pegasos2: Let pegasos2 machine configure SuperI/O functions

This is a preparation for implementing relocation and toggling of SuperI/O
functions in the VT8231 device model. Upon reset, all SuperI/O functions will be
deactivated, so in case if no -bios is given, let the machine configure those
functions the same way Pegasos II firmware would do.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20240114123911.4877-11-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/ppc/pegasos2.c