qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [4640] Enable SD card on creation.


From: Paul Brook
Subject: Re: [Qemu-devel] [4640] Enable SD card on creation.
Date: Mon, 2 Jun 2008 14:19:08 +0100
User-agent: KMail/1.9.9

On Monday 02 June 2008, Andrzej Zaborowski wrote:
> Revision: 4640
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4640
> Author:   balrog
> Date:     2008-06-02 00:55:08 +0000 (Mon, 02 Jun 2008)
>
> Log Message:
> -----------
> Enable SD card on creation.
> void sd_enable(SDState *sd, int enable)

This shouldn't exist to start with. It should be using a qemu_irq, like the 
other GPIO pins do, and probably wants to be implemented outside sd.c anyway.  
The whole point of chip selects is to allow multiple devices on the same bus. 
See stellaris_ssi_bus for an example of a bus multiplexer with chip selects.

Paul




reply via email to

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