From: Bruno Martins Date: Tue, 10 Oct 2023 17:25:19 +0000 (+0100) Subject: ARM64: dts: radxa0_4g: Use safe value for usable memory end region X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e1aa3631365bc365df7494a67bac853a9e8ebc8b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ARM64: dts: radxa0_4g: Use safe value for usable memory end region Although the previous value (the maximum within the 32-bit range) booted fine when dtb.img was normally flashed in bootloader mode, it proved to cause issues when fully packed image was flashed via AML flash tool. This value has been taken from S922X datasheet. Stick to it as the user facing total memory is 4.0 GB, as desired. Change-Id: I17d20003cf52aede3720065564666809ba63f711 --- diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905y2_radxa0_4g.dts b/arch/arm64/boot/dts/amlogic/g12a_s905y2_radxa0_4g.dts index 3c12d811338f..0ff81ab292c6 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905y2_radxa0_4g.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905y2_radxa0_4g.dts @@ -45,7 +45,7 @@ memory@00000000 { device_type = "memory"; - linux,usable-memory = <0x0 0x000000 0x0 0xffffffff>; + linux,usable-memory = <0x0 0x000000 0x0 0xf4ffffff>; }; reserved-memory {