On 21/9/26 23:46, Bernhard Beschow wrote:
Deriving from TYPE_SYS_BUS_DEVICE fixes the SoC object to be reset upon
machine reset.
Signed-off-by: Bernhard Beschow <[email protected]>
---
include/hw/arm/fsl-imx25.h | 5 ++---
hw/arm/fsl-imx25.c | 7 +------
hw/arm/imx25_pdk.c | 2 +-
3 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/hw/arm/fsl-imx25.c b/hw/arm/fsl-imx25.c
index 7f65f4ca4b..efb22359c5 100644
--- a/hw/arm/fsl-imx25.c
+++ b/hw/arm/fsl-imx25.c
@@ -317,16 +317,11 @@ static void fsl_imx25_class_init(ObjectClass *oc, const
void *data)
device_class_set_props(dc, fsl_imx25_properties);
dc->realize = fsl_imx25_realize;
dc->desc = "i.MX25 SOC";
- /*
- * Reason: uses serial_hds in realize and the imx25 board does not
- * support multiple CPUs
- */
- dc->user_creatable = false;
Distinct logical change? Group in the same patch, same for
sysbus conversion?
}