nvmem: imx-ocotp: Enable i.MX7D OTP write support

After applying patches for both banked access and write timings we can
re-enable the OTP write interface on i.MX7D processors.

Fixes: 0642bac7da ("nvmem: imx-ocotp: add write support")

Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Bryan O'Donoghue 2017-10-24 10:54:32 +01:00 committed by Greg Kroah-Hartman
parent 828ae7a47c
commit a32bab320f
1 changed files with 0 additions and 2 deletions

View File

@ -466,8 +466,6 @@ static int imx_ocotp_probe(struct platform_device *pdev)
imx_ocotp_nvmem_config.dev = dev; imx_ocotp_nvmem_config.dev = dev;
imx_ocotp_nvmem_config.priv = priv; imx_ocotp_nvmem_config.priv = priv;
priv->config = &imx_ocotp_nvmem_config; priv->config = &imx_ocotp_nvmem_config;
if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx7d-ocotp"))
imx_ocotp_nvmem_config.read_only = true;
nvmem = nvmem_register(&imx_ocotp_nvmem_config); nvmem = nvmem_register(&imx_ocotp_nvmem_config);
if (IS_ERR(nvmem)) if (IS_ERR(nvmem))