summaryrefslogtreecommitdiffstats
path: root/hw/arm/fsl-imx6ul.c
diff options
context:
space:
mode:
authorGuenter Roeck2020-06-16 11:32:29 +0200
committerPeter Maydell2020-06-16 11:32:29 +0200
commit64b397417a26509bcdff44ab94356a35c7901c79 (patch)
tree50ca935d7e08f732e24adfa7d9942b1bea6a6b9e /hw/arm/fsl-imx6ul.c
parentsd: sdhci: Implement basic vendor specific register support (diff)
downloadqemu-64b397417a26509bcdff44ab94356a35c7901c79.tar.gz
qemu-64b397417a26509bcdff44ab94356a35c7901c79.tar.xz
qemu-64b397417a26509bcdff44ab94356a35c7901c79.zip
hw: arm: Set vendor property for IMX SDHCI emulations
Set vendor property to IMX to enable IMX specific functionality in sdhci code. Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20200603145258.195920-3-linux@roeck-us.net Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/fsl-imx6ul.c')
-rw-r--r--hw/arm/fsl-imx6ul.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/arm/fsl-imx6ul.c b/hw/arm/fsl-imx6ul.c
index 3ecb212da6..ce1462927c 100644
--- a/hw/arm/fsl-imx6ul.c
+++ b/hw/arm/fsl-imx6ul.c
@@ -505,6 +505,8 @@ static void fsl_imx6ul_realize(DeviceState *dev, Error **errp)
FSL_IMX6UL_USDHC2_IRQ,
};
+ object_property_set_uint(OBJECT(&s->usdhc[i]), SDHCI_VENDOR_IMX,
+ "vendor", &error_abort);
object_property_set_bool(OBJECT(&s->usdhc[i]), true, "realized",
&error_abort);