]> git.proxmox.com Git - mirror_qemu.git/commit
sam460ex: Fix support for memory larger than 1GB
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)
commit6a9938a3797a6008ee54bf4ec9b41973c1efc3b9
tree2a1752cd2d9a782bbad047f8e98334ef13d68f44
parent70812bf70973f02366421c1549fab4036853aea3
sam460ex: Fix support for memory larger than 1GB

Fix the encoding of larger memory modules in the SoC registers which
allows specifying more than 1GB memory for sam460ex. Well, only 2GB
due to SoC and firmware restrictions which was the only missing value
compared to what the real hardware supports. The SoC should support up
to 4GB but when setting that the firmware hangs during memory test.
This may be an overflow bug in the firmware which I did not try to
debug but this may affect real hardware as well.

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