]> git.sur5r.net Git - u-boot/blobdiff - include/mmc.h
flash: Fix spelling of "ERR_TIMOUT"
[u-boot] / include / mmc.h
index cd068b9429bf419d67ffa99e0f846899f5b36d89..a46eaed74699b982ca046bc34ea769c29a3283c4 100644 (file)
@@ -589,7 +589,9 @@ struct mmc {
        uint write_bl_len;
        uint erase_grp_size;    /* in 512-byte sectors */
 #endif
+#if CONFIG_IS_ENABLED(MMC_HW_PARTITIONING)
        uint hc_wp_grp_size;    /* in 512-byte sectors */
+#endif
 #if CONFIG_IS_ENABLED(MMC_WRITE)
        struct sd_ssr   ssr;    /* SD status register */
 #endif