diff options
author | Simon Glass <sjg@chromium.org> | 2013-05-07 06:12:03 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-14 15:37:25 -0400 |
commit | 35e7b0f1790b5e620041348aec04c1e51d9d649b (patch) | |
tree | d621db0c21da91f9bef25dbfadd4497638cfa8b3 /include/lxt971a.h | |
parent | d8b75360eed3a117c0fc516e38a5ccc31df459eb (diff) | |
download | u-boot-imx-35e7b0f1790b5e620041348aec04c1e51d9d649b.zip u-boot-imx-35e7b0f1790b5e620041348aec04c1e51d9d649b.tar.gz u-boot-imx-35e7b0f1790b5e620041348aec04c1e51d9d649b.tar.bz2 |
sandbox: image: Add support for booting images in sandbox
Much of the image code uses addresses as ulongs and pointers interchangeably,
casting between the two forms as needed.
This doesn't work with sandbox, which has a U-Boot RAM buffer which is
separate from the host machine's memory.
Adjust the cost so that translating from a U-Boot address to a pointer uses
map_sysmem(). This allows bootm to work correctly on sandbox.
Note that there are no exhaustive tests for this code on sandbox, so it is
possible that some dark corners remain.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de> (v1)
Diffstat (limited to 'include/lxt971a.h')
0 files changed, 0 insertions, 0 deletions