ppc/pegasos2: Restrict memory to 2 gigabytes
commit239fec2497907f2adf7e6b9fdda4138e81bac619
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 14 Oct 2021 19:50:19 +0000 (14 21:50 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 21 Oct 2021 00:42:47 +0000 (21 11:42 +1100)
tree94372d7684a16a9ac4d01820e0f343366285a928
parent3938cacdb2367c203fd796af3f8c70cdb70c5007
ppc/pegasos2: Restrict memory to 2 gigabytes

The CHRP spec this board confirms to only allows 2 GiB of system
memory below 4 GiB as the high 2 GiB is allocated to IO and system
resources. To avoid problems with memory overlapping these areas
restrict RAM to 2 GiB similar to mac_newworld.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <54f58229a69c9c1cca21bcecad700b3d7052edd5.1634241019.git.balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pegasos2.c