From: David Bauer Date: Sun, 2 Apr 2023 15:52:16 +0000 (+0200) Subject: mpc85xx: reserve upper 1MB of RAM for WS-AP3825i X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1d4d21481fcd75a07be081ddb4044ee5ae457b93;p=openwrt%2Fstaging%2Frobimarko.git 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 --- 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 {