raspi: Use error_fatal for SoC realize errors, not error_abort
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 16 Aug 2021 13:58:40 +0000 (14:58 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Aug 2021 16:02:01 +0000 (17:02 +0100)
commit33c20e3caf82096e7fd50eed0d47778109f62081
tree1cc11bc3bf395b1a2cffefaefdd6e00e90df94c6
parentbaa873f7508df9f622c9d1ed43d3a03c9cce785c
raspi: Use error_fatal for SoC realize errors, not error_abort

The SoC realize can fail for legitimate reasons, because it propagates
errors up from CPU realize, which in turn can be provoked by user
error in setting commandline options. Use error_fatal so we report
the error message to the user and exit, rather than asserting
via error_abort.

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