mpc85xx: reserve upper 1MB of RAM for WS-AP3825i
authorDavid Bauer <mail@david-bauer.net>
Sun, 2 Apr 2023 15:52:16 +0000 (17:52 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 8 Apr 2023 12:41:01 +0000 (14:41 +0200)
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>
target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts

index c07167b40fedab0a813a267dfaf57f5a56b8bb6c..a347900e5dfe3ef68b2fa24cf929477674e09863 100644 (file)
        };
 
        memory {
-               reg = <0x0 0x0 0x0 0x10000000>;
+               /* Reserve upper MB for second-core-bootpage */
+               reg = <0x0 0x0 0x0 0xff00000>;
        };
 
        soc@ffe00000 {