[PATCH 2/2] env: point fdt address to the fdt in a bloblist
Tom Rini
trini at konsulko.com
Sat Mar 29 00:53:54 CET 2025
On Fri, Mar 28, 2025 at 05:35:04AM -0600, Simon Glass wrote:
> Hi Raymond,
>
> On Thu, 27 Mar 2025 at 17:13, Raymond Mao <raymond.mao at linaro.org> wrote:
> >
> > Point fdt_addr to the fdt embedded in the bloblist since fdt_addr
> > is a default address for bootefi, bootm and booti to look for the
> > device tree when launching the kernel.
>
> I wonder if we can drop use of that environment variable at some
> point? It seems strange to set a variable to gd->fdt_addr only to use
> it later. Why not just use gd->fdt_addr ?
Doubtful. Both fdt_addr and fdt_addr_r are documented with what they are
for and we'll likely never not have those as valid use cases. While it's
possible some day that we might be able to allocate valid addresses
everywhere we would still want to expose that to the user to do as they
see fit.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250328/16930ee8/attachment.sig>
More information about the U-Boot
mailing list