[U-Boot] [U-Boot,2/2] board/db410c: fix fdt address
Tom Rini
trini at konsulko.com
Fri Jun 23 14:32:47 UTC 2017
On Tue, Jun 20, 2017 at 05:55:25PM -0400, Rob Clark wrote:
> Signed-off-by: Rob Clark <robdclark at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170623/6aee73c0/attachment.sig>
More information about the U-Boot
mailing list