From c38efa668c7215d24e8ff8f735059c2b723d120f Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 20 Sep 2017 15:54:32 -0400 Subject: [PATCH] arm: soc: stm32l4: add flash driver for IMG_MANAGER Add definition required to enable the DFU subsystem image manager. Signed-off-by: Marti Bolivar --- arch/arm/soc/st_stm32/stm32l4/soc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/soc/st_stm32/stm32l4/soc.h b/arch/arm/soc/st_stm32/stm32l4/soc.h index 62251b089a8..3da73d53885 100644 --- a/arch/arm/soc/st_stm32/stm32l4/soc.h +++ b/arch/arm/soc/st_stm32/stm32l4/soc.h @@ -47,6 +47,11 @@ #include #endif +/* For IMG_MANAGER */ +#if defined(CONFIG_SOC_FLASH_STM32) +#define FLASH_DRIVER_NAME CONFIG_SOC_FLASH_STM32_DEV_NAME +#endif + #endif /* !_ASMLANGUAGE */ #endif /* _STM32L4X_SOC_H_ */