[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/5] hw/sd: Configure number of slots exposed by the ASPEE
From: |
Cédric Le Goater |
Subject: |
Re: [PATCH v3 1/5] hw/sd: Configure number of slots exposed by the ASPEED SDHCI model |
Date: |
Tue, 28 Jan 2020 09:24:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
Hello Peter,
[ ... ]
> +static Property aspeed_sdhci_properties[] = {
> + DEFINE_PROP_UINT8("num-slots", AspeedSDHCIState, num_slots, 0),
> + DEFINE_PROP_END_OF_LIST(),
> +};
> +
> static void aspeed_sdhci_class_init(ObjectClass *classp, void *data)
> {
> DeviceClass *dc = DEVICE_CLASS(classp);
> @@ -181,6 +187,7 @@ static void aspeed_sdhci_class_init(ObjectClass *classp,
> void *data)
> dc->realize = aspeed_sdhci_realize;
> dc->reset = aspeed_sdhci_reset;
> dc->vmsd = &vmstate_aspeed_sdhci;
> + dc->props = aspeed_sdhci_properties;
This will require a change to use device_class_set_props().
Do you want a resend ?
Thanks,
C.
- [PATCH v3 0/5] aspeed: extensions and fixes, Cédric Le Goater, 2020/01/14
- [PATCH v3 1/5] hw/sd: Configure number of slots exposed by the ASPEED SDHCI model, Cédric Le Goater, 2020/01/14
- Re: [PATCH v3 1/5] hw/sd: Configure number of slots exposed by the ASPEED SDHCI model,
Cédric Le Goater <=
- [PATCH v3 2/5] hw/arm: ast2600: Wire up the eMMC controller, Cédric Le Goater, 2020/01/14
- [PATCH v3 3/5] ftgmac100: check RX and TX buffer alignment, Cédric Le Goater, 2020/01/14
- [PATCH v3 5/5] misc/pca9552: Add qom set and get, Cédric Le Goater, 2020/01/14
- [PATCH v3 4/5] hw/arm/aspeed: add a 'execute-in-place' property to boot directly from CE0, Cédric Le Goater, 2020/01/14
- Re: [PATCH v3 0/5] aspeed: extensions and fixes, Peter Maydell, 2020/01/30