commit | 6889f14921dbf268a7e3706200c06a67c27ec070 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Thu Mar 02 04:08:22 2023 +0100 |
committer | Simon Glass <sjg@chromium.org> | Wed Mar 08 11:40:57 2023 -0800 |
tree | dd51622cf055c17eb615d947567cd98f664bfcda | |
parent | 8c50f33f08e41003a1f60adfb26eb6fb45edee79 [diff] |
cmd: fdt: Map address returned from fdt get addr to sysmem The address returned from 'fdt get addr' command must be mapped into sysmem, as this is a working FDT. Access to this address without mapping it would lead to crash e.g. in sandbox. The following command triggers the crash: " ./u-boot -Dc 'fdt addr $fdtcontroladdr ; fdt get addr var / compatible ; md $var' " Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Simon Glass <sjg@chromium.org>