[U-Boot] need clarification regarding mmc csd structure declaration

Gururaja Hebbar K R gururajakr at sanyo.co.in
Mon Aug 18 04:56:56 CEST 2008


 Hi,

> Hi,
> 
> I need few clarification regarding mmc csd structure 
> declaration. I was taking Atmel mci as reference.
> 
> In ProductManualSDCardv2.2.pdf @ page 34 & 
> ProdManualSDCardv1.9[1].pdf @ page 39, says 
> 
> ...
> ...
> ...
> C_SIZE_MULT  	3 bit width
> ERASE_BLK_EN 	1 bit width
> SECTOR_SIZE 	7 bit width
> WP_GRP_SIZE  	7 bit width
> WP_GRP_ENABLE	1 bit width
> ...
> ...
> .. 
> 
> But in mmc.h file inside 
> u-boot-1.3.4\include\asm-avr32\arch-at32ap700x.
> 
> Here, inside structure mmc_csd @ line 
> 
> ...
> ...
> ...
> c_size_mult:3
> sector_size:5
> erase_grp_size:5
> wp_grp_size:5
> wp_grp_enable:1
> ...
> ...
> ...
> 
> 
> So my doubt is, Shouldn't erase_grp_size come before sector size. 
> 
> please correct me if i am wrong.

Could some one clarify my doubt.

TIA

Regards
Gururaja



More information about the U-Boot mailing list