aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Weber <[email protected]>2024-02-17 20:02:47 +0100
committerKrzysztof Kozlowski <[email protected]>2024-03-26 10:06:05 +0100
commit7bff1d35c1294c011b0269b8eaeb8f930df386fe (patch)
tree5f7cca0beafb11514f9840ad8cdcfb1fce377c32
parentd2c81a9b6acc9ad6fa1a97bf21939adad1882dfa (diff)
ARM: dts: exynos4212-tab3: limit usable memory range
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]>
-rw-r--r--arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi
index e5254e32aa8f..9bc05961577d 100644
--- a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi
+++ b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi
@@ -45,6 +45,12 @@
/* 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 {