stm32mp: stm32prog: add MMC device
[oweals/u-boot.git] / arch / arm / mach-stm32mp / cmd_stm32prog / stm32prog.h
index b44b6f89afd80782812d7bfdec91c88a1f5b1c44..228a25d37f3f4c8a0ea640fc412fab36c90d3693 100644 (file)
@@ -19,6 +19,7 @@
 
 enum stm32prog_target {
        STM32PROG_NONE,
+       STM32PROG_MMC,
 };
 
 enum stm32prog_link_t {
@@ -64,6 +65,8 @@ enum stm32prog_part_type {
 struct stm32prog_dev_t {
        enum stm32prog_target   target;
        char                    dev_id;
+       u32                     erase_size;
+       struct mmc              *mmc;
        /* list of partition for this device / ordered in offset */
        struct list_head        part_list;
 };