[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] hw/arm: ast2600: Wire up the eMMC controller
From: |
Andrew Jeffery |
Subject: |
Re: [PATCH 2/5] hw/arm: ast2600: Wire up the eMMC controller |
Date: |
Mon, 13 Jan 2020 09:50:53 +1030 |
User-agent: |
Cyrus-JMAP/3.1.7-740-g7d9d84e-fmstable-20200109v1 |
On Fri, 10 Jan 2020, at 22:26, Cédric Le Goater wrote:
> >> +
> >> + sysbus_init_child_obj(obj, "emmc", OBJECT(&s->emmc), sizeof(s->emmc),
> >> + TYPE_ASPEED_SDHCI);
> >> +
> >> + object_property_set_int(OBJECT(&s->emmc), 1, "num-slots",
> >> &error_abort);
> >> +
> >> + sysbus_init_child_obj(obj, "emmc[*]", OBJECT(&s->emmc.slots[0]),
> >
> > Single block, so use "emmc" instead.
>
> Andrew, how should we call the objects in the slots ? "sdhci" ?
I think that's the right way to go, but maybe we need to rethink the naming at
the
controller level.
Andrew
[PATCH 4/5] hw/arm/aspeed: add a 'execute-in-place' property to boot directly from CE0, Cédric Le Goater, 2020/01/07
[PATCH 5/5] misc/pca9552: Add qom set and get, Cédric Le Goater, 2020/01/07
Re: [PATCH 0/5] aspeed: extensions and fixes, Cédric Le Goater, 2020/01/13