mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
PPC: e500: Select MPIC v4.2 on ppce500 platform
The compatible string is changed to fsl,mpic on all e500 platforms, to advertise the existence of BRR1. This matches what the device tree will have on real hardware. With MPIC v4.2 max_cpu can be increased from 15 to 32. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
bd25922e73
commit
f5fba9d27f
4 changed files with 9 additions and 3 deletions
|
@ -14,6 +14,7 @@
|
|||
#include "e500.h"
|
||||
#include "../boards.h"
|
||||
#include "sysemu/device_tree.h"
|
||||
#include "hw/openpic.h"
|
||||
|
||||
static void mpc8544ds_fixup_devtree(PPCE500Params *params, void *fdt)
|
||||
{
|
||||
|
@ -43,6 +44,7 @@ static void mpc8544ds_init(QEMUMachineInitArgs *args)
|
|||
.pci_first_slot = 0x11,
|
||||
.pci_nr_slots = 2,
|
||||
.fixup_devtree = mpc8544ds_fixup_devtree,
|
||||
.mpic_version = OPENPIC_MODEL_FSL_MPIC_20,
|
||||
};
|
||||
|
||||
ppce500_init(¶ms);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue