stm32mp1: activate SET_DFU_ALT_INFO
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 14 Oct 2019 07:28:09 +0000 (09:28 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 26 Nov 2019 09:14:34 +0000 (10:14 +0100)
commitf6031d6d5812ef97f09f98865dfd205a02b9c481
tree3e88ef62baa7c7afb71f266c02ffdbdfa2b8d567
parent4edce505f1b2c3b4cb8894dc82f206229c592ca4
stm32mp1: activate SET_DFU_ALT_INFO

Generate automatically dfu_alt_info for the supported device.
The simple command "dfu 0" allows to start the dfu stack on usb 0
for the supported devices:
- dfu mtd for nand0
- dfu mtd for nor0
- dfu mmc for SDCard
- dfu mmc for eMMC
- dfu ram for images in DDR

The DUF alternate use the "part", "partubi" and "mmcpart" options
to select the correct MTD or GPT partition or the eMMC hw boot partition.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
board/st/stm32mp1/README
board/st/stm32mp1/stm32mp1.c
include/configs/stm32mp1.h