[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH 4/8] bcm2835_emmc: add bcm2835 MMC/SD controller

From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH 4/8] bcm2835_emmc: add bcm2835 MMC/SD controller
Date: Wed, 9 Dec 2015 21:01:17 +0000

On 9 December 2015 at 18:54, Peter Crosthwaite
<address@hidden> wrote:
> On Wed, Dec 9, 2015 at 10:17 AM, Andrew Baumann
> <address@hidden> wrote:
>>> From: Peter Crosthwaite [mailto:address@hidden
>>> Is that more likely to be an IP connectivity problem (wierd input to
>>> the card-detect pin in the SoC)?
>> That might be it, but in any case I still need to model it somehow.
> Ideally, this would be managed on the board level but it is kinda hard
> the way to code is organised. Currently SDHCI is managing the SD card
> instantiation due to a lack of QOMification. So for the moment, this
> would be valid as a boolean property which disables the card detect
> logic completely. If we get the SD QOMification though, the power,
> card detect and sd interface proper can then be more finely managed on
> the board level for all these varying connectivity configurations.

Card detect you should be able to handle on the board level without
waiting for QOMification -- it's just modelled as a QEMU irq line
(the vexpress board connects it up to a random register, or you could
not connect it to anything, etc).

I'm working on the QOMification of sd.c this week, though I'm very
rusty on how to properly model buses.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]