aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-04-02 17:52:16 +0200
committerDavid Bauer <mail@david-bauer.net>2023-04-08 14:41:01 +0200
commit1d4d21481fcd75a07be081ddb4044ee5ae457b93 (patch)
treef5f2436723c9961d0d6bdaeac6c09ff54d5d3670 /target
parente3f31ff20d33dc2a21a691cba35bd6afccba794a (diff)
downloadupstream-1d4d21481fcd75a07be081ddb4044ee5ae457b93.tar.gz
upstream-1d4d21481fcd75a07be081ddb4044ee5ae457b93.tar.bz2
upstream-1d4d21481fcd75a07be081ddb4044ee5ae457b93.zip
mpc85xx: reserve upper 1MB of RAM for WS-AP3825i
The bootpage for the second core is placed by U-Boot in the upper 128k of syste-memory. This could either be a reserved-area or deducted from the total system-memory. As only the latter is parsed by the bootwrapper, reduce the available system memory for linux in order to preserve the bootpage from being overwritten. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
index c07167b40f..a347900e5d 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
@@ -301,7 +301,8 @@
};
memory {
- reg = <0x0 0x0 0x0 0x10000000>;
+ /* Reserve upper MB for second-core-bootpage */
+ reg = <0x0 0x0 0x0 0xff00000>;
};
soc@ffe00000 {