From: Bernhard Beschow Date: Thu, 1 Jan 2026 21:07:13 +0000 (+0100) Subject: hw/arm/fsl-imx25: Apply missing reset quirk X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37d65400b9c05de1571e234fbc74d1740e23fd24;p=thirdparty%2Fqemu.git hw/arm/fsl-imx25: Apply missing reset quirk Just like the Freescale MPC8569E SoC the i.MX25 features an eSDHC but as little-endian variant. According to the datasheet TYPE_FSL_IMX25 requires the same reset quirk as the e500 machines. The quirk was introduced in d060b2789f71 ("hw/sd/sdhci: Set reset value of interrupt registers") for the e500 machines, so reuse it now in TYPE_FSL_IMX25. Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé Tested-by: BALATON Zoltan Message-ID: <20260112145418.220506-5-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/hw/arm/fsl-imx25.c b/hw/arm/fsl-imx25.c index dd670827ff..9e02063533 100644 --- a/hw/arm/fsl-imx25.c +++ b/hw/arm/fsl-imx25.c @@ -243,6 +243,8 @@ static void fsl_imx25_realize(DeviceState *dev, Error **errp) &error_abort); object_property_set_uint(OBJECT(&s->esdhc[i]), "capareg", IMX25_ESDHC_CAPABILITIES, &error_abort); + object_property_set_uint(OBJECT(&s->esdhc[i]), "vendor", + SDHCI_VENDOR_FSL, &error_abort); if (!sysbus_realize(SYS_BUS_DEVICE(&s->esdhc[i]), errp)) { return; }