]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: tegra-common-post: Stop disabling device tree relocation
authorTom Rini <trini@konsulko.com>
Wed, 19 Nov 2025 14:55:40 +0000 (08:55 -0600)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Sun, 21 Dec 2025 15:01:12 +0000 (17:01 +0200)
Remove setting of fdt_high to ~0, which disables device tree relocation,
from the default environment. Doing so prevents U-Boot from correcting
problems such as having an unaligned device tree and leads to various
failure modes in the OS.

If there is some window of memory that must be used for where the device
tree is relocated to, bootm_low + bootm_size (or often just bootm_size)
or bootm_mapsize are the correct way do this. Please see
doc/usage/environment.rst for more details.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Svyatoslav Ryhel <clamor95@gmail.com>
include/configs/tegra-common-post.h

index 2f08dfed020faa5dfd63b77d87b7395a56b5d699..a9c0cea4e149c886efbd4fa672ec7fb0094ba38b 100644 (file)
 #endif
 
 #ifdef CONFIG_ARM64
-#define FDT_HIGH "ffffffffffffffff"
 #define INITRD_HIGH "ffffffffffffffff"
 #else
-#define FDT_HIGH "ffffffff"
 #define INITRD_HIGH "ffffffff"
 #endif
 
 #define CFG_EXTRA_ENV_SETTINGS \
        TEGRA_DEVICE_SETTINGS \
        MEM_LAYOUT_ENV_SETTINGS \
-       "fdt_high=" FDT_HIGH "\0" \
        "initrd_high=" INITRD_HIGH "\0" \
        "boot_targets=" BOOT_TARGETS "\0" \
        BOARD_EXTRA_ENV_SETTINGS