[PATCH v2 8/9] hw/arm/raspi4b: Drop board_rev for 32bit hosts
Peter Xu <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
QEMU has switched to 64bit-only hosts for all system/user emulations. Signed-off-by: Peter Xu <[email protected]> --- hw/arm/raspi4b.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/arm/raspi4b.c b/hw/arm/raspi4b.c index e1595a875f..5f7abbb4c4 100644 --- a/hw/arm/raspi4b.c +++ b/hw/arm/raspi4b.c @@ -111,11 +111,7 @@ static void raspi4b_machine_class_init(ObjectClass *oc, const void *data) MachineClass *mc = MACHINE_CLASS(oc); RaspiBaseMachineClass *rmc = RASPI_BASE_MACHINE_CLASS(oc); -#if HOST_LONG_BITS == 32 - rmc->board_rev = 0xa03111; /* Revision 1.1, 1 Gb RAM */ -#else rmc->board_rev = 0xb03115; /* Revision 1.5, 2 Gb RAM */ -#endif raspi_machine_class_common_init(mc, rmc->board_rev); mc->auto_create_sdcard = true; mc->init = raspi4b_machine_init; -- 2.54.0