Skip to content
Snippets Groups Projects
Commit 6b6255cd authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

mach-stm32: Enable SPL_RESET_SUPPORT flag


Since commit 0e373c0a ("spl: add SPL_RESET_SUPPORT"),
reset is supported in SPL, enable this flag for STM32F SoCs family.

This allows to remove a specific case in RCC mfd driver.

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent d3671dfc
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,7 @@ config STM32F7 ...@@ -48,6 +48,7 @@ config STM32F7
imply SPL_OS_BOOT imply SPL_OS_BOOT
select SPL_PINCTRL select SPL_PINCTRL
select SPL_RAM select SPL_RAM
select SPL_RESET_SUPPORT
select SPL_SERIAL_SUPPORT select SPL_SERIAL_SUPPORT
select SPL_SYS_MALLOC_SIMPLE select SPL_SYS_MALLOC_SIMPLE
select SPL_TIMER select SPL_TIMER
......
...@@ -53,13 +53,9 @@ static int stm32_rcc_bind(struct udevice *dev) ...@@ -53,13 +53,9 @@ static int stm32_rcc_bind(struct udevice *dev)
if (ret) if (ret)
return ret; return ret;
#ifdef CONFIG_SPL_BUILD
return 0;
#else
return device_bind_driver_to_node(dev, "stm32_rcc_reset", return device_bind_driver_to_node(dev, "stm32_rcc_reset",
"stm32_rcc_reset", "stm32_rcc_reset",
dev_ofnode(dev), &child); dev_ofnode(dev), &child);
#endif
} }
static const struct misc_ops stm32_rcc_ops = { static const struct misc_ops stm32_rcc_ops = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment