Re: [Qemu-devel] [PATCH] hw/sd/aspeed_sdhci: New device

2019-08-07 Thread Peter Maydell
On Tue, 6 Aug 2019 at 23:12, Eddie James wrote: > > > On 8/5/19 9:31 AM, Peter Maydell wrote: > > On Wed, 26 Jun 2019 at 19:43, Eddie James wrote: > >> diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c > >> index 7b80b1d..51a733b 100644 > >> --- a/hw/sd/sdhci.c > >> +++ b/hw/sd/sdhci.c > >> @@ -213,7 +

Re: [Qemu-devel] [PATCH] hw/sd/aspeed_sdhci: New device

2019-08-06 Thread Eddie James
On 8/5/19 9:31 AM, Peter Maydell wrote: On Wed, 26 Jun 2019 at 19:43, Eddie James wrote: The Aspeed SOCs have two SD/MMC controllers. Add a device that encapsulates both of these controllers and models the Aspeed-specific registers and behavior. Both controllers use a single HW interrupt. In

Re: [Qemu-devel] [PATCH] hw/sd/aspeed_sdhci: New device

2019-08-05 Thread Peter Maydell
On Wed, 26 Jun 2019 at 19:43, Eddie James wrote: > > The Aspeed SOCs have two SD/MMC controllers. Add a device that > encapsulates both of these controllers and models the Aspeed-specific > registers and behavior. > > Both controllers use a single HW interrupt. In order to trigger that > interrupt

[Qemu-devel] [PATCH] hw/sd/aspeed_sdhci: New device

2019-06-26 Thread Eddie James
The Aspeed SOCs have two SD/MMC controllers. Add a device that encapsulates both of these controllers and models the Aspeed-specific registers and behavior. Both controllers use a single HW interrupt. In order to trigger that interrupt, a function pointer was added to the generic SDHCI structure.