
On Fri, Nov 16, 2018 at 03:00:39PM +0100, Benjamin Gaignard wrote:
From: Benjamin Gaignard benjamin.gaignard@linaro.org
Protect configuration registers with a hardware spinlock.
If a hwspinlock is defined in the device-tree node used it to be sure that none of the others processors on the SoC could change the configuration at the same time.
Signed-off-by: Benjamin Gaignard benjamin.gaignard@linaro.org Reviewed-by: Simon Glass sjg@chromium.org Reviewed-by: Patrice Chotard patrice.chotard@st.com
[snip]
@@ -200,4 +225,6 @@ U_BOOT_DRIVER(pinctrl_stm32) = { .of_match = stm32_pinctrl_ids, .ops = &stm32_pinctrl_ops, .bind = dm_scan_fdt_dev,
- .probe = stm32_pinctrl_probe,
- .priv_auto_alloc_size = sizeof(struct hwspinlock),
};
This hunk here no longer applies directly and it's not obviously correct to me how to fix it without also testing on hardware to be confident. Please rebase the series, thanks!