]> git.sur5r.net Git - u-boot/blobdiff - include/mmc.h
configs: Migrate CONFIG_SYS_TEXT_BASE
[u-boot] / include / mmc.h
index 3abeb581aef220c0b7600b9e7a8b1d8b0a019ea2..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
@@ -598,8 +600,10 @@ struct mmc {
        u64 capacity_boot;
        u64 capacity_rpmb;
        u64 capacity_gp[4];
+#ifndef CONFIG_SPL_BUILD
        u64 enh_user_start;
        u64 enh_user_size;
+#endif
 #if !CONFIG_IS_ENABLED(BLK)
        struct blk_desc block_dev;
 #endif