]> Git Repo - J-linux.git/commitdiff
ARM: dts: exynos4212-tab3: limit usable memory range
authorArtur Weber <[email protected]>
Sat, 17 Feb 2024 19:02:47 +0000 (20:02 +0100)
committerKrzysztof Kozlowski <[email protected]>
Tue, 26 Mar 2024 09:06:05 +0000 (10:06 +0100)
The stock bootloader on the Samsung Galaxy Tab 3 8.0 provides an
incorrect available memory range over ATAG_MEM. Limit the usable
memory in the DTS to prevent it from doing so, without having to
disable ATAG support.

Signed-off-by: Artur Weber <[email protected]>
Reviewed-by: Henrik Grimler <[email protected]>
Link: https://lore.kernel.org/r/20240217-tab3-limit-usable-memory-range-v1-1-49cc9c86a5cc@gmail.com
Signed-off-by: Krzysztof Kozlowski <[email protected]>
arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi

index e5254e32aa8fc326dfcabce33705a9b25e272052..9bc05961577dca2101418c6ad0ae8e05c76eac61 100644 (file)
                /* Default S-BOOT bootloader loads initramfs here */
                linux,initrd-start = <0x42000000>;
                linux,initrd-end = <0x42800000>;
+
+               /*
+                * Stock bootloader provides incorrect memory size in ATAG_MEM;
+                * override it here
+                */
+               linux,usable-memory-range = <0x40000000 0x3fc00000>;
        };
 
        firmware@204f000 {
This page took 0.061894 seconds and 4 git commands to generate.