summaryrefslogtreecommitdiff
path: root/drivers/misc/mxc_ocotp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mxc_ocotp.c')
-rw-r--r--drivers/misc/mxc_ocotp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/misc/mxc_ocotp.c b/drivers/misc/mxc_ocotp.c
index bdbe0bd7c4..7e6d9d996f 100644
--- a/drivers/misc/mxc_ocotp.c
+++ b/drivers/misc/mxc_ocotp.c
@@ -71,7 +71,7 @@
#error "Unsupported architecture\n"
#endif
-#if defined(CONFIG_MX6) || defined(CONFIG_MX7)
+#if defined(CONFIG_MX6)
#include <asm/arch/sys_proto.h>
/*
@@ -95,8 +95,7 @@ u32 fuse_bank_physical(int index)
{
u32 phy_index;
- if ((index == 0) || is_cpu_type(MXC_CPU_MX6SL) ||
- is_cpu_type(MXC_CPU_MX7D))
+ if ((index == 0) || is_cpu_type(MXC_CPU_MX6SL))
phy_index = index;
else if (is_cpu_type(MXC_CPU_MX6UL)) {
if (index >= 6)