Re: [PATCH] mmc: dw_mmc: modified the DMA threshold for SD card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi James.

I found other problem about not reading scr register.

Did you have 2.40a spec?

Our code is based on lower version than 2.40a.
In DWC_mobile_storage 2.40a spec, DATA register address is changed.

Now we used DATA register address is 0x100.(in 2.40a, Address 0x100 is used for CardThrCtl register)
But in 2.40a, DATA register address is 0x200... 
Maybe i think the reason why PIO mode is broken.

We need to set DATA register according to VERID.(reading VERID register)

I will send the patch for this point.

Best Regards,
Jaehoon Chung
 

> Our current hardware also has a data width of 32.
> 
> Does it work if you disable DMA (by returning -ENODEV at the beginning
> of dw_mci_submit_data_dma)? That would prove that the problem wasn't
> caused by DMA mode leaving the hardware in a bad state before switching
> to PIO mode.

> 

> Cheers
> James
> 
>> Best regards,
>> Jaehon Chung
>>
>>
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux