summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlice Guo <[email protected]>2022-07-26 16:40:59 +0800
committerStefano Babic <[email protected]>2022-07-26 11:29:01 +0200
commit31b3ca5527dce8eed136b0dc30026cb24fac6eb1 (patch)
treeb20007067848f2021cd937508dc458b3ce3ce246 /arch
parent5d78ff733d647e694e803f87f2645a45229d1413 (diff)
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 <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-imx9/imx-regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx9/imx-regs.h b/arch/arm/include/asm/arch-imx9/imx-regs.h
index 7b84b970b75..fa6951ebbe8 100644
--- a/arch/arm/include/asm/arch-imx9/imx-regs.h
+++ b/arch/arm/include/asm/arch-imx9/imx-regs.h
@@ -19,6 +19,8 @@
#define WDG4_BASE_ADDR 0x424a0000UL
#define WDG5_BASE_ADDR 0x424b0000UL
+#define FSB_BASE_ADDR 0x47510000UL
+
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
#include <asm/types.h>
#include <stdbool.h>