On Mon, Jan 22, 2018 at 7:30 PM, Philippe Mathieu-Daudé <f4...@amsat.org> wrote: > To comply with Spec v1.10 (and 2.00, 3.01): > > . TRAN_SPEED > > for current SD Memory Cards that field must be always 0_0110_010b (032h) > which is > equal to 25MHz - the mandatory maximum operating frequency of SD Memory Card. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org>
Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Alistair > --- > hw/sd/sd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/sd/sd.c b/hw/sd/sd.c > index f6318c6fdb..56df5b660a 100644 > --- a/hw/sd/sd.c > +++ b/hw/sd/sd.c > @@ -356,7 +356,7 @@ static void sd_reset_csd(SDState *sd, uint64_t size) > sd->csd[0] = 0x00; /* CSD structure */ > sd->csd[1] = 0x26; /* Data read access-time-1 */ > sd->csd[2] = 0x00; /* Data read access-time-2 */ > - sd->csd[3] = 0x5a; /* Max. data transfer rate */ > + sd->csd[3] = 0x32; /* Max. data transfer rate: 25 MHz */ > sd->csd[4] = 0x5f; /* Card Command Classes */ > sd->csd[5] = 0x50 | /* Max. read data block length */ > HWBLOCK_SHIFT; > -- > 2.15.1 > >