hw/arm/boot: Factor out "set up firmware boot" code
commit4c0f268731c17e77403825b4ad550a16d2145d79
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Feb 2019 16:52:42 +0000 (5 16:52 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Feb 2019 16:52:42 +0000 (5 16:52 +0000)
treea8295f652229212553547bda19341c0aca327f28
parentd33774ee446569162a8ab8b4d43606b049207b80
hw/arm/boot: Factor out "set up firmware boot" code

Factor out the "boot via firmware" code path from arm_load_kernel()
into its own function.

This commit only moves code around; no semantic changes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20190131112240.8395-4-peter.maydell@linaro.org
hw/arm/boot.c