Igor Mitsyanko i.mitsya...@samsung.com writes:
And drop passing is_spi argument to SDCardClass::init function.
spi property could be set only while SD card object is not
attached to any BlockDriverState.
It defaults to false.
Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com
Cc: Paul
Am 31.07.2012 11:54, schrieb Markus Armbruster:
Igor Mitsyanko i.mitsya...@samsung.com writes:
And drop passing is_spi argument to SDCardClass::init function.
spi property could be set only while SD card object is not
attached to any BlockDriverState.
It defaults to false.
Signed-off-by:
Il 31/07/2012 14:19, Andreas Färber ha scritto:
+sd-spi = false;
+object_property_add(obj, spi, boolean, sd_is_spi,
sd_set_spimode,
+NULL, NULL, NULL);
+}
+
static const TypeInfo sd_type_info = {
.name = TYPE_SD_CARD,
.parent = TYPE_OBJECT,
And drop passing is_spi argument to SDCardClass::init function.
spi property could be set only while SD card object is not
attached to any BlockDriverState.
It defaults to false.
Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com
Cc: Paul Brook p...@codesourcery.com
---
hw/sd.c | 33