]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/dfu.h
dfu: mmc: raw data write fix
[karo-tx-uboot.git] / include / dfu.h
index 6c71ecbe3555377fd83eefc2f0fdd3a7a173646b..dcd3215d06be866746c3af8e6c9d595362bcf2c8 100644 (file)
@@ -64,11 +64,6 @@ struct ram_internal_data {
        unsigned int    size;
 };
 
-static inline unsigned int get_mmc_blk_size(int dev)
-{
-       return find_mmc_device(dev)->read_bl_len;
-}
-
 #define DFU_NAME_SIZE                  32
 #define DFU_CMD_BUF_SIZE               128
 #ifndef CONFIG_SYS_DFU_DATA_BUF_SIZE