misc: fuse: support to access fuse on i.MX93
authorAlice Guo <alice.guo@nxp.com>
Tue, 26 Jul 2022 08:40:59 +0000 (16:40 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:29:01 +0000 (11:29 +0200)
commit31b3ca5527dce8eed136b0dc30026cb24fac6eb1
treeb20007067848f2021cd937508dc458b3ce3ce246
parent5d78ff733d647e694e803f87f2645a45229d1413
misc: fuse: support to access fuse on i.MX93

i.MX93 fuse can be accessed through FSB and s400-api. Add mapping tables
for i.MX93. The offset address of FSB accessing OTP shadow registers is
different between i.MX8ULP and i.MX93, so use macro to define the offset
address instead of hardcode.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx9/imx-regs.h
drivers/misc/sentinel/fuse.c