summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-05-31 09:00:43 +0200
committerTom Rini <trini@konsulko.com>2018-06-05 20:19:09 -0400
commit6b6255cd8a7752b95ec6ea3d76d446c5b42cf64d (patch)
tree7ffb0bf66671e5ec45665355816bfb2a4106d229 /drivers
parentd3671dfcdb6724989d4eb91be5e97d40614b7145 (diff)
mach-stm32: Enable SPL_RESET_SUPPORT flag
Since commit 0e373c0ade8c ("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: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/stm32_rcc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/misc/stm32_rcc.c b/drivers/misc/stm32_rcc.c
index dee82c0b7b..980b3a58e1 100644
--- a/drivers/misc/stm32_rcc.c
+++ b/drivers/misc/stm32_rcc.c
@@ -53,13 +53,9 @@ static int stm32_rcc_bind(struct udevice *dev)
if (ret)
return ret;
-#ifdef CONFIG_SPL_BUILD
- return 0;
-#else
return device_bind_driver_to_node(dev, "stm32_rcc_reset",
"stm32_rcc_reset",
dev_ofnode(dev), &child);
-#endif
}
static const struct misc_ops stm32_rcc_ops = {