On 5 April 2012 16:48, Igor Mitsyanko wrote:
> -#define SD_INIT(sd, bdrv, is_spi) (SD_GET_CLASS(sd)->init(sd, bdrv,
> is_spi))
> +#define SD_INIT(sd, bdrv, is_spi) (SD_GET_CLASS(sd)->init(sd, is_spi))
> diff --git a/hw/ssi-sd.c b/hw/ssi-sd.c
> index beecc0e..38057ba 100644
> --- a/hw/ssi-sd.
Rather then pass on a BlockDriverState pointer to SD init function, we now
should set
"if-idx" property of SD card object to a value corresponding to index of
DriveInfo
we want to attach to SD card.
All users were converted to use this new approach to SD card initialization.
Omap and PXA
mmc ini