diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2019-01-07 17:30:18 -0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-01-09 22:10:00 -0200 |
commit | b3bcb3cedf58cb3c64a20712861ed9382773fd6b (patch) | |
tree | 75b8599013e75f722da8aed6e15cbaaa09e33237 /hw/ppc/spapr.c | |
parent | e3213eb5ecd541f182e1a5a719feed99d6b225af (diff) | |
download | qemu-b3bcb3cedf58cb3c64a20712861ed9382773fd6b.zip qemu-b3bcb3cedf58cb3c64a20712861ed9382773fd6b.tar.gz qemu-b3bcb3cedf58cb3c64a20712861ed9382773fd6b.tar.bz2 |
spapr: Eliminate SPAPR_PCI_2_7_MMIO_WIN_SIZE macro
The macro is only used in one place, where the purpose of the
value is obvious. Eliminate the macro so we don't need to rely
on stringify().
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190107193020.21744-2-ehabkost@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/ppc/spapr.c')
-rw-r--r-- | hw/ppc/spapr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 83081de..54a19d2 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -4285,7 +4285,7 @@ static void spapr_machine_2_7_class_options(MachineClass *mc) { .driver = TYPE_SPAPR_PCI_HOST_BRIDGE, .property = "mem_win_size", - .value = stringify(SPAPR_PCI_2_7_MMIO_WIN_SIZE), + .value = "0xf80000000", }, { .driver = TYPE_SPAPR_PCI_HOST_BRIDGE, |