nvmem: imx: correct nregs for i.MX6ULL
commit 2382c1b044231fd49eaf9aa82bc7113fc55487b8 upstream.
The nregs for i.MX6ULL should be 80 per fuse map, correct it.
Fixes: ffbc34bf0e
("nvmem: imx-ocotp: Implement i.MX6ULL/ULZ support")
Cc: Stable@vger.kernel.org
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20231013124904.175782-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
d44166341f
commit
7a1c29e93c
@@ -488,7 +488,7 @@ static const struct ocotp_params imx6ul_params = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const struct ocotp_params imx6ull_params = {
|
static const struct ocotp_params imx6ull_params = {
|
||||||
.nregs = 64,
|
.nregs = 80,
|
||||||
.bank_address_words = 0,
|
.bank_address_words = 0,
|
||||||
.set_timing = imx_ocotp_set_imx6_timing,
|
.set_timing = imx_ocotp_set_imx6_timing,
|
||||||
.ctrl = IMX_OCOTP_BM_CTRL_DEFAULT,
|
.ctrl = IMX_OCOTP_BM_CTRL_DEFAULT,
|
||||||
|
Reference in New Issue
Block a user