hw/arm/boot: Honour CPU's address space for image loads
commit9f43d4c34017df6bb5b6a13d43f941e90ec2d233
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Mar 2018 10:45:36 +0000 (2 10:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Mar 2018 11:03:45 +0000 (2 11:03 +0000)
tree2c86645af5ddd9e9543d000dc867c47bd879a1f7
parent97df5feee3fe8b0e4e1a2cd3105ec476eb84cf42
hw/arm/boot: Honour CPU's address space for image loads

Instead of loading kernels, device trees, and the like to
the system address space, use the CPU's address space. This
is important if we're trying to load the file to memory or
via an alias memory region that is provided by an SoC
object and thus not mapped into the system address space.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180220180325.29818-3-peter.maydell@linaro.org
hw/arm/boot.c