aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorMarcel Ziswiler2019-05-31 19:00:19 +0300
committerStefano Babic2019-06-11 10:42:48 +0200
commit74c0f5cd7c9b404d3ae5a2db9af77c94357ef40f (patch)
tree9d59d9d34e92e24c1de7f239f3cbd7218a1c77f3 /drivers/misc
parent1da39d3ce89cd5c43e22f0a18f969093b6f41450 (diff)
imx8: fuse: fix fuse driver
This fixes the i.MX 8 fuse driver to actually build for i.MX 8QM as well. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/imx8/fuse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/imx8/fuse.c b/drivers/misc/imx8/fuse.c
index 29d2256a22d..2f2fad2c17c 100644
--- a/drivers/misc/imx8/fuse.c
+++ b/drivers/misc/imx8/fuse.c
@@ -15,13 +15,11 @@ DECLARE_GLOBAL_DATA_PTR;
#define FSL_ECC_WORD_START_1 0x10
#define FSL_ECC_WORD_END_1 0x10F
-#ifdef CONFIG_IMX8QXP
#define FSL_ECC_WORD_START_2 0x220
#define FSL_ECC_WORD_END_2 0x31F
#define FSL_QXP_FUSE_GAP_START 0x110
#define FSL_QXP_FUSE_GAP_END 0x21F
-#endif
#define FSL_SIP_OTP_READ 0xc200000A
#define FSL_SIP_OTP_WRITE 0xc200000B