]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: ele_api: Update ELE read common fuse API
authorPeng Fan <peng.fan@nxp.com>
Sun, 6 Oct 2024 00:30:02 +0000 (08:30 +0800)
committerFabio Estevam <festevam@denx.de>
Sun, 13 Oct 2024 12:43:05 +0000 (09:43 -0300)
commit929dc83b73b71fd638b48b26a2652fd45e963448
tree8a56e5f182477479dd8e89affa93499546a17406
parente7431340743962b4cfaffda95016c55bd2df297a
misc: ele_api: Update ELE read common fuse API

On iMX8ULP, the word index 1 is used to read OTP_UNIQ_ID with 4 words
data responsed. However this special index does not apply others.
So restrict the check to i.MX8ULP to avoid problem when reading from
fuse word 1 for others, such as i.MX93.

Also update header order

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/misc/imx_ele/ele_api.c