summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-07 06:12:03 +0000
committerTom Rini <trini@ti.com>2013-05-14 15:37:25 -0400
commit35e7b0f1790b5e620041348aec04c1e51d9d649b (patch)
treed621db0c21da91f9bef25dbfadd4497638cfa8b3 /tools
parentd8b75360eed3a117c0fc516e38a5ccc31df459eb (diff)
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 'tools')
0 files changed, 0 insertions, 0 deletions