]> git.proxmox.com Git - mirror_qemu.git/commit
ppc4xx: Use ram_addr_t in ppc4xx_sdram_adjust()
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 3 Jan 2019 16:27:24 +0000 (17:27 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 4 Feb 2019 07:44:17 +0000 (18:44 +1100)
commit7d8ccf58d5ee83b140220e34b58ac7d4b5dc6a21
treec35393c7a215774efb1cf61793c0ca210de62c81
parent08fd99179a8c5d34c7065e2ad76c7f8b6afe239e
ppc4xx: Use ram_addr_t in ppc4xx_sdram_adjust()

To avoid overflow if larger values are added later use ram_addr_t for
the sdram_bank_sizes parameter to match ram_size to which it is compared.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/ppc440_bamboo.c
hw/ppc/ppc4xx_devs.c
hw/ppc/sam460ex.c
include/hw/ppc/ppc4xx.h