ARM: dts: samsung: exynos5420-galaxy-tab: decrease available memory
authorHenrik Grimler <henrik@grimler.se>
Tue, 30 Jan 2024 20:40:41 +0000 (21:40 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 6 Feb 2024 10:16:52 +0000 (11:16 +0100)
The last 6 MiB are used by trustzone firmware, and cannot be used by
Linux.  Currently we are saved by that the proprietary bootloader
(sboot) passes available memory to kernel through ATAG_MEM.  Change
memory range in any case so that we do not have to rely on ATAG_MEM.

Signed-off-by: Henrik Grimler <henrik@grimler.se>
Link: https://lore.kernel.org/r/20240130-galaxy-tab-s-cleanup-v1-3-d4e17857241d@grimler.se
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi

index f525b2f5e4e083ba499dc0ad11866fb78146f37c..3532f1e8e902b73c0d4ba60ac423db4b4208df0e 100644 (file)
@@ -39,7 +39,7 @@
 
        memory@20000000 {
                device_type = "memory";
-               reg = <0x20000000 0xc0000000>;
+               reg = <0x20000000 0xbfa00000>;
        };
 
        firmware@2073000 {