|
@@ -201,6 +201,7 @@ static void xlnx_zcu102_init(MachineState *machine)
|
|
|
qdev_prop_set_drive_err(flash_dev, "drive",
|
|
|
blk_by_legacy_dinfo(dinfo), &error_fatal);
|
|
|
}
|
|
|
+ qdev_prop_set_uint8(flash_dev, "cs", i);
|
|
|
qdev_realize_and_unref(flash_dev, spi_bus, &error_fatal);
|
|
|
|
|
|
cs_line = qdev_get_gpio_in_named(flash_dev, SSI_GPIO_CS, 0);
|
|
@@ -224,6 +225,7 @@ static void xlnx_zcu102_init(MachineState *machine)
|
|
|
qdev_prop_set_drive_err(flash_dev, "drive",
|
|
|
blk_by_legacy_dinfo(dinfo), &error_fatal);
|
|
|
}
|
|
|
+ qdev_prop_set_uint8(flash_dev, "cs", i);
|
|
|
qdev_realize_and_unref(flash_dev, spi_bus, &error_fatal);
|
|
|
|
|
|
cs_line = qdev_get_gpio_in_named(flash_dev, SSI_GPIO_CS, 0);
|