mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
hw/sd/sdhci: Remove need for SDHCI_VENDOR_IMX definition
All instances of TYPE_IMX_USDHC set vendor=SDHCI_VENDOR_IMX. No need to special-case it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Bernhard Beschow <shentey@gmail.com> Message-Id: <20250308213640.13138-3-philmd@linaro.org>
This commit is contained in:
parent
003d35ad6c
commit
7f2a5272ff
7 changed files with 4 additions and 21 deletions
|
@ -327,8 +327,6 @@ static void fsl_imx6_realize(DeviceState *dev, Error **errp)
|
|||
&error_abort);
|
||||
object_property_set_uint(OBJECT(&s->esdhc[i]), "capareg",
|
||||
IMX6_ESDHC_CAPABILITIES, &error_abort);
|
||||
object_property_set_uint(OBJECT(&s->esdhc[i]), "vendor",
|
||||
SDHCI_VENDOR_IMX, &error_abort);
|
||||
if (!sysbus_realize(SYS_BUS_DEVICE(&s->esdhc[i]), errp)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue