OSDN Git Service

hw/arm/raspi: Trivial code movement
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 8 Feb 2020 16:56:38 +0000 (17:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Feb 2020 14:30:51 +0000 (14:30 +0000)
commitcc360632f613ccef6676460b4fb5eaad9e82e267
treef1a4090a23e03e17380adfc1eaa506c836742a24
parent2e664b45f4d9e7449bd977980aa1454b16837713
hw/arm/raspi: Trivial code movement

There is no point in creating the SoC object before allocating the RAM.
Move the call to keep all the SoC-related calls together.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20200208165645.15657-7-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/raspi.c