OSDN Git Service

hw/arm/boot: fix rom_reset notifier registration order
authorEric Auger <eric.auger@linaro.org>
Mon, 15 Jun 2015 17:06:11 +0000 (18:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 15 Jun 2015 17:06:11 +0000 (18:06 +0100)
commit63a183ed0eac2956574745c84faffa042d99afb8
treeb71818522dffb864e402d23c5081010bda15ff11
parent13689d43646482f7305282de1bdd662c0d2b8b77
hw/arm/boot: fix rom_reset notifier registration order

commit ac9d32e39664e060cd1b538ff190980d57ad69e4 had the consequence to
register the do_cpu_reset after the rom_reset one. Hence they get
executed in the wrong order. This commit restores the registration of
do_cpu_reset in arm_load_kernel.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reported-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Tested-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 1434111582-9325-1-git-send-email-eric.auger@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/boot.c