Revision 22ed1d34 hw/sd.c

b/hw/sd.c
1143 1143
}
1144 1144

  
1145 1145
static sd_rsp_type_t sd_app_command(SDState *sd,
1146
                                    SDRequest req) {
1147
    uint32_t rca;
1148

  
1149
    if (sd_cmd_type[req.cmd] == sd_ac || sd_cmd_type[req.cmd] == sd_adtc)
1150
        rca = req.arg >> 16;
1151

  
1146
                                    SDRequest req)
1147
{
1152 1148
    DPRINTF("ACMD%d 0x%08x\n", req.cmd, req.arg);
1153 1149
    switch (req.cmd) {
1154 1150
    case 6:	/* ACMD6:  SET_BUS_WIDTH */

Also available in: Unified diff