commit | 6ce8fab9f5f523b045d5b0026caa5be07bf6fce6 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Thu Mar 02 04:08:22 2023 +0100 |
committer | Simon Glass <sjg@chromium.org> | Thu Mar 09 08:50:47 2023 -0800 |
tree | 269878db7faf0f87c8c091dc87ed01c843f1604b | |
parent | 18bddca52a74d68929788325b30261460c12023a [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>