Re: [PATCH] nvmem: ocotp: fix fusing on fsl,imx6q-ocotp compatible boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2020-11-12 at 11:00 +0100, Robin van der Gracht wrote:
> The imx6q_ocotp_data struct is incomplete resulting in a crash when
> trying
> to read/blow fuses.
> 
> Signed-off-by: Robin van der Gracht <robin@xxxxxxxxxxx>
> ---
>  drivers/nvmem/ocotp.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/nvmem/ocotp.c b/drivers/nvmem/ocotp.c
> index 356e9bf11..cee50955e 100644
> --- a/drivers/nvmem/ocotp.c
> +++ b/drivers/nvmem/ocotp.c
> @@ -833,6 +833,8 @@ static struct imx_ocotp_data imx6q_ocotp_data = {
>  	.mac_offsets = { MAC_OFFSET_0 },
>  	.format_mac = imx_ocotp_format_mac,
>  	.set_timing = imx6_ocotp_set_timing,
> +	.fuse_blow = imx6_fuse_blow_addr,
> +	.fuse_read = imx6_fuse_read_addr,
>  };
>  
>  static struct imx_ocotp_data imx6sl_ocotp_data = {

Fixes: 17cba91885d9 ("nvmem: ocotp: read/write i.MX7 support")

Reviewed-by: Rouven Czerwinski <r.czerwinski@xxxxxxxxxxxxxx>

Thanks for the fix,
Rouven


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux