mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
stm32mp: stm32prog: add MMC device
Add support of MMC device (based on DFU_MMC backend) for SD card and eMMC update. Create a GPT partitioning on the device. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
This commit is contained in:
parent
6ee6839183
commit
aff4c5dd82
5 changed files with 209 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue