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 <aweber.kernel@gmail.com>
Reviewed-by: Henrik Grimler <henrik@grimler.se>
Link: https://lore.kernel.org/r/20240217-tab3-limit-usable-memory-range-v1-1-49cc9c86a5cc@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
Artur Weber 2024-02-17 20:02:47 +01:00 committed by Krzysztof Kozlowski
parent d2c81a9b6a
commit 7bff1d35c1

View File

@ -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 {