[U-Boot] [U-Boot, v4, 4/4] pinctrl: stm32: make pinctrl use hwspinlock

Tom Rini trini at konsulko.com
Tue Nov 27 03:13:07 UTC 2018


On Fri, Nov 16, 2018 at 03:00:39PM +0100, Benjamin Gaignard wrote:

> From: Benjamin Gaignard <benjamin.gaignard at 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 at linaro.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Patrice Chotard <patrice.chotard at 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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181126/87fc28fc/attachment.sig>


More information about the U-Boot mailing list