]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/fat.h
imx31_phycore: Remove CONFIG_SYS_I2C_SLAVE definition
[karo-tx-uboot.git] / include / fat.h
index 4c92442fd34d3b9d20e5384674531c15b4b51243..f1b4a0d97c3be48af96c00eb9720ee10c251afd2 100644 (file)
@@ -178,12 +178,12 @@ typedef struct dir_slot {
 typedef struct {
        __u8    *fatbuf;        /* Current FAT buffer */
        int     fatsize;        /* Size of FAT in bits */
-       __u16   fatlength;      /* Length of FAT in sectors */
+       __u32   fatlength;      /* Length of FAT in sectors */
        __u16   fat_sect;       /* Starting sector of the FAT */
-       __u16   rootdir_sect;   /* Start sector of root directory */
+       __u32   rootdir_sect;   /* Start sector of root directory */
        __u16   sect_size;      /* Size of sectors in bytes */
        __u16   clust_size;     /* Size of clusters in sectors */
-       short   data_begin;     /* The sector of the first cluster, can be negative */
+       int     data_begin;     /* The sector of the first cluster, can be negative */
        int     fatbufnum;      /* Used by get_fatent, init to -1 */
 } fsdata;