2023-01-30 13:01:20

by Patrick Delaunay

[permalink] [raw]
Subject: [PATCH] ARM: multi_v7_defconfig: enable NVMEM driver for STM32

Enable the STMicroelectronics NVMEM drivers used on
STM32 MPU, STM32MP15x and STM32MP13x, to access OTPs.

Signed-off-by: Patrick Delaunay <[email protected]>
---

arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index d2f218341ad0..9b3ef21f44c1 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -1209,6 +1209,7 @@ CONFIG_RAS=y
CONFIG_NVMEM_IMX_OCOTP=y
CONFIG_NVMEM_QCOM_QFPROM=y
CONFIG_NVMEM_ROCKCHIP_EFUSE=m
+CONFIG_NVMEM_STM32_ROMEM=m
CONFIG_NVMEM_SUNXI_SID=y
CONFIG_NVMEM_VF610_OCOTP=y
CONFIG_NVMEM_MESON_MX_EFUSE=m
--
2.25.1



2023-02-02 12:36:42

by Alexandre TORGUE

[permalink] [raw]
Subject: Re: [PATCH] ARM: multi_v7_defconfig: enable NVMEM driver for STM32

On 1/30/23 14:00, Patrick Delaunay wrote:
> Enable the STMicroelectronics NVMEM drivers used on
> STM32 MPU, STM32MP15x and STM32MP13x, to access OTPs.
>
> Signed-off-by: Patrick Delaunay <[email protected]>
> ---
>
> arch/arm/configs/multi_v7_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
> index d2f218341ad0..9b3ef21f44c1 100644
> --- a/arch/arm/configs/multi_v7_defconfig
> +++ b/arch/arm/configs/multi_v7_defconfig
> @@ -1209,6 +1209,7 @@ CONFIG_RAS=y
> CONFIG_NVMEM_IMX_OCOTP=y
> CONFIG_NVMEM_QCOM_QFPROM=y
> CONFIG_NVMEM_ROCKCHIP_EFUSE=m
> +CONFIG_NVMEM_STM32_ROMEM=m
> CONFIG_NVMEM_SUNXI_SID=y
> CONFIG_NVMEM_VF610_OCOTP=y
> CONFIG_NVMEM_MESON_MX_EFUSE=m

Applied on stm32-next.

Thanks.
Alex