]> git.ipfire.org Git - thirdparty/u-boot.git/commit
bcmstb: Make use of bootm_size rather than fdt_high
authorTom Rini <trini@konsulko.com>
Wed, 19 Nov 2025 14:55:22 +0000 (08:55 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 4 Dec 2025 21:06:28 +0000 (15:06 -0600)
commit39b10f534f0fa016b228c8b76d090fd2d62d2378
treeb207d4281d29d5e913395294a2fd0dde6cd679c8
parent5b6432484df4a2b781e3156d2347e7db019ec6a8
bcmstb: Make use of bootm_size rather than fdt_high

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. However, this platform also has a large comment
block that explains that given previous stage loaders and other parts of
the memory map (that may not be in the device tree we see?), adjust this
to use bootm_size to restrict relocation to be below the CMA area and
update the comment to match.

Signed-off-by: Tom Rini <trini@konsulko.com>
include/configs/bcmstb.h