[U-Boot] [U-boot]: MMC: add sdhci generic framework

2013-05-20 Thread Jagannadha Sutradharudu Teki
Hi,

On..  drivers/mmc/sdhci.c
+   if (caps  SDHCI_CAN_DO_8BIT)
+   mmc-host_caps |= MMC_MODE_8BIT;

Here we are setting 8BIT bus width, if the sdhci capabilities register 18 bit 
is set.
Does 18-bit is really denoted for 8-bit bus width, I cound't find it on spec,  
https://www.sdcard.org/developers/overview/host_controller/simple_spec/Simplified_SD_Host_Controller_Spec.pdf

Due to this above error even my controller doesn't support 8-bit, it shows a 
8-BIT supported.

Request your help, correct me I am wrong.

Thanks,
Jagan.



This email and any attachments are intended for the sole use of the named 
recipient(s) and contain(s) confidential information that may be proprietary, 
privileged or copyrighted under applicable law. If you are not the intended 
recipient, do not read, copy, or forward this email message or any attachments. 
Delete this email message and any attachments immediately.


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-boot]: MMC: add sdhci generic framework

2013-05-20 Thread Rommel Custodio

Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com 
writes:

 
 Hi,
 
 On..  drivers/mmc/sdhci.c
 +   if (caps  SDHCI_CAN_DO_8BIT)
 +   mmc-host_caps |= MMC_MODE_8BIT;
 
 Here we are setting 8BIT bus width, if the sdhci capabilities register 18 
bit is set.
 Does 18-bit is really denoted for 8-bit bus width, I cound't find it on 
spec,  
https://www.sdcard.org/developers/overview/host_controller/simple_spec/Simpl
ified_SD_Host_Controller_Spec.pdf

Dear Jagannadha Sutradharudu Teki,

The current u-boot SD/MMC driver supports the latest SD Specification.
You should read version 3.0 of the specification.

 
 Due to this above error even my controller doesn't support 8-bit, it shows 
a 8-BIT supported.
 
 Request your help, correct me I am wrong.
 
 Thanks,
 Jagan.

All the best,
Rommel


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-boot]: MMC: add sdhci generic framework

2013-05-20 Thread Jagan Teki
Hi Rommel,

Thanks for your information.

On Tue, May 21, 2013 at 4:20 AM, Rommel Custodio
sessyargc+ub...@gmail.com wrote:

 Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com
 writes:


 Hi,

 On..  drivers/mmc/sdhci.c
 +   if (caps  SDHCI_CAN_DO_8BIT)
 +   mmc-host_caps |= MMC_MODE_8BIT;

 Here we are setting 8BIT bus width, if the sdhci capabilities register 18
 bit is set.
 Does 18-bit is really denoted for 8-bit bus width, I cound't find it on
 spec,
 https://www.sdcard.org/developers/overview/host_controller/simple_spec/Simpl
 ified_SD_Host_Controller_Spec.pdf

 Dear Jagannadha Sutradharudu Teki,

 The current u-boot SD/MMC driver supports the latest SD Specification.
 You should read version 3.0 of the specification.

OK, i saw the spec thanks.
I think we need to add the fix on sdhci, for backward compatibility.
Any concerns.

Thanks,
Jagan.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot