ARM: stm32: Enable DFU SF support on DHSOM
Subsystems (2)
PATCH 1/1 ARM: stm32: Enable DFU SF support on DHSOM
All the STM32MP1 based DHSOM have SPI NOR from which they boot, enable DFU_SF support to make it possible to expose that SPI NOR via the DFU.
--- configs/stm32mp15_dhcom_basic_defconfig | 1 + configs/stm32mp15_dhcor_basic_defconfig | 1 + 2 files changed, 2 insertions(+)
configs/stm32mp15_dhcom_basic_defconfig +1 -0
@@ -82,6 +82,7 @@ CONFIG_STM32_ADC=y CONFIG_SPL_BLOCK_CACHE=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y +CONFIG_DFU_SF=y CONFIG_DFU_VIRT=y CONFIG_SET_DFU_ALT_INFO=y CONFIG_GPIO_HOG=y
configs/stm32mp15_dhcor_basic_defconfig +1 -0
@@ -79,6 +79,7 @@ CONFIG_STM32_ADC=y CONFIG_SPL_BLOCK_CACHE=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y +CONFIG_DFU_SF=y CONFIG_DFU_VIRT=y CONFIG_GPIO_HOG=y CONFIG_DM_HWSPINLOCK=y
Signature · 1 line
2.33.0
Quoted 29 lines · Marek Vasut
All the STM32MP1 based DHSOM have SPI NOR from which they boot, enable
DFU_SFsupport to make it possible to expose that SPI NOR via the DFU.Signed-off-by Marek Vasut <[email protected]>Cc Patrice Chotard <[email protected]>Cc Patrick Delaunay <[email protected]>--- configs/stm32mp15_dhcom_basic_defconfig | 1 + configs/stm32mp15_dhcor_basic_defconfig | 1 + 2 files changed, 2 insertions(+)configs/stm32mp15_dhcom_basic_defconfig +1
-0@@ -82,6 +82,7 @@ CONFIG_STM32_ADC=y CONFIG_SPL_BLOCK_CACHE=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y +CONFIG_DFU_SF=y CONFIG_DFU_VIRT=y CONFIG_SET_DFU_ALT_INFO=y CONFIG_GPIO_HOG=yconfigs/stm32mp15_dhcor_basic_defconfig +0
-0
configs/stm32mp15_dhcor_basic_defconfig CONFIG_STM32_ADC=y · line 85
Quoted 7 lines
configs/stm32mp15_dhcor_basic_defconfig +1
-0@@ -79,6 +79,7 @@ CONFIG_STM32_ADC=y CONFIG_SPL_BLOCK_CACHE=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y +CONFIG_DFU_SF=y CONFIG_DFU_VIRT=y CONFIG_GPIO_HOG=y CONFIG_DM_HWSPINLOCK=y
You prefer DFU SF vs DFU MTD ?
DFU MTD support all MTD device, including SPI NOR devices...
Thanks
Patrick
Quoted 42 lines · Patrick DELAUNAY
Quoted 29 lines · Marek Vasut
All the STM32MP1 based DHSOM have SPI NOR from which they boot, enable
DFU_SFsupport to make it possible to expose that SPI NOR via the DFU.Signed-off-by Marek Vasut <[email protected]>Cc Patrice Chotard <[email protected]>Cc Patrick Delaunay <[email protected]>---
configs/stm32mp15_dhcom_basic_defconfig | 1 +
configs/stm32mp15_dhcor_basic_defconfig | 1 +2 files changed, 2 insertions(+)configs/stm32mp15_dhcom_basic_defconfig +0
-0@@ -82,6 +82,7 @@ CONFIG_STM32_ADC=y
CONFIG_SPL_BLOCK_CACHE=y
CONFIG_DFU_MMC=y
CONFIG_DFU_RAM=y
+CONFIG_DFU_SF=y
CONFIG_DFU_VIRT=y
CONFIG_SET_DFU_ALT_INFO=y
CONFIG_GPIO_HOG=yconfigs/stm32mp15_dhcor_basic_defconfig +0
-0@@ -79,6 +79,7 @@ CONFIG_STM32_ADC=yQuoted 7 lines
CONFIG_SPL_BLOCK_CACHE=y
CONFIG_DFU_MMC=y
CONFIG_DFU_RAM=y
+CONFIG_DFU_SF=y
CONFIG_DFU_VIRT=y
CONFIG_GPIO_HOG=y
CONFIG_DM_HWSPINLOCK=yYou prefer DFU SF vs DFU MTD ?
Quoted 1 line
DFU MTD support all MTD device, including SPI NOR devices...
The DFU MTD indeed works and looks better, so drop this patch and apply the DFU MTD one I just posted. Thanks for this input.