mpc85xx: increase available RAM on Extreme Networks WS-AP3825i
authorDavid Bauer <mail@david-bauer.net>
Sun, 3 Dec 2023 07:03:57 +0000 (08:03 +0100)
committerDavid Bauer <mail@david-bauer.net>
Mon, 4 Dec 2023 00:10:32 +0000 (01:10 +0100)
commitde37b56cdb21df164a32ffda0ee4383c9ab6d13e
tree68ae2367f0e4cd3bb8c4b6b8c9847d6a964d0f42
parent6264d12ed8e4beef6e3707837cb95f0e0d9e4e92
mpc85xx: increase available RAM on Extreme Networks WS-AP3825i

The system-mamory size was page-aligned prior to this commit, only
enabling to use 192MB of system memory of the 256 available.

This was due to the system-memory being manually shrinked to reserve the
upper 1MB for the second-core bootpage in the loader as well as the OS.

Fix this properly in the loader and in Linux using reserved-memory
definitions. This enables the device to use 250MB of system memory.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 57d7382cb159dbb15b8e281cad90a65d4c0201f6)
target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
target/linux/mpc85xx/patches-5.15/150-arch-powerpc-simpleboot-prevent-overwrite-of-CPU1-sp.patch [new file with mode: 0644]