On Tue, Jun 20, 2017 at 05:55:25PM -0400, Rob Clark wrote: > Signed-off-by: Rob Clark <robdcl...@gmail.com> > --- > Maybe there is a better way to not hardcode this? But at least with > the build of lk that I have, the fdt table is at 0x81e00000. I guess > there must be a more robust way to do this, since presumably lk when > booting the linux kernel directly somehow passes the fdt address.
I would assume that lk does what Documentation/arm64/booting.txt describes and places the physical address in x0, so you might be able to implement a save_boot_params that saves this information for later use? Perhaps even make this somewhat generic for armv8 as there's probably other cases where U-Boot is being called in this manner? Thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot