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....@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
signature.asc
Description: PGP signature