ppc/prep: use the new pci_vga_init() function
As a bonus it allows new vga card types (including none). Acked-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
3e20ad3a9b
commit
95fa01fab0
@ -39,7 +39,6 @@
|
||||
#include "blockdev.h"
|
||||
#include "arch_init.h"
|
||||
#include "exec-memory.h"
|
||||
#include "vga-pci.h"
|
||||
|
||||
//#define HARD_DEBUG_PPC_IO
|
||||
//#define DEBUG_PPC_IO
|
||||
@ -611,7 +610,7 @@ static void ppc_prep_init (ram_addr_t ram_size,
|
||||
memory_region_add_subregion(sysmem, 0x80000000, PPC_io_memory);
|
||||
|
||||
/* init basic PC hardware */
|
||||
pci_std_vga_init(pci_bus);
|
||||
pci_vga_init(pci_bus);
|
||||
|
||||
if (serial_hds[0])
|
||||
serial_isa_init(isa_bus, 0, serial_hds[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user