]> git.sur5r.net Git - u-boot/commitdiff
ARM:PXA Remove redefinition of mmc_cid and mmc_csd.
authorTom Rix <Tom.Rix@windriver.com>
Fri, 20 Feb 2009 01:27:22 +0000 (19:27 -0600)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 20 Feb 2009 02:47:44 +0000 (03:47 +0100)
These structures are defined in the common mmc.h

This was compile checked on cerf250.

cpu/pxa/mmc.h

index 85e144b682d7b199de65623a86a4f3b8662f218f..6fa42686e6f8c4f52239e8f16278ef1ec3089e81 100644 (file)
 #define MMC_R1B_ADDR_ERR               0x2000
 #define MMC_R1B_PARAM_ERR              0x4000
 
-typedef struct mmc_cid
-{
-/* FIXME: BYTE_ORDER */
-   uchar year:4,
-   month:4;
-   uchar sn[3];
-   uchar fwrev:4,
-   hwrev:4;
-   uchar name[6];
-   uchar id[3];
-} mmc_cid_t;
-
-typedef struct mmc_csd
-{
-       uint8_t         csd_structure:2,
-                       spec_ver:4,
-                       rsvd1:2;
-       uint8_t         taac;
-       uint8_t         nsac;
-       uint8_t         tran_speed;
-       uint16_t        ccc:12,
-                       read_bl_len:4;
-       uint64_t        read_bl_partial:1,
-                       write_blk_misalign:1,
-                       read_blk_misalign:1,
-                       dsr_imp:1,
-                       rsvd2:2,
-                       c_size:12,
-                       vdd_r_curr_min:3,
-                       vdd_r_curr_max:3,
-                       vdd_w_curr_min:3,
-                       vdd_w_curr_max:3,
-                       c_size_mult:3,
-                       erase_blk_en:1,
-                       sector_size:7,
-                       wp_grp_size:7,
-                       wp_grp_enable:1,
-                       default_ecc:2,
-                       r2w_factor:3,
-                       write_bl_len:4,
-                       write_bl_partial:1,
-                       rsvd3:4,
-                       content_prot_app:1;
-       uint8_t         file_format_grp:1,
-                       copy:1,
-                       perm_write_protect:1,
-                       tmp_write_protect:1,
-                       file_format:2,
-                       ecc:2;
-} mmc_csd_t;
-
 #endif /* __MMC_PXA_P_H__ */