summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/freescale/common/fsl_sys_rev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/common/fsl_sys_rev.c b/board/freescale/common/fsl_sys_rev.c
index 9fdabac..26f9f17 100644
--- a/board/freescale/common/fsl_sys_rev.c
+++ b/board/freescale/common/fsl_sys_rev.c
@@ -20,7 +20,9 @@
#include <config.h>
#include <common.h>
#include <asm/io.h>
+#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL)
#include <asm/arch/mx6.h>
+#endif
#ifdef CONFIG_CMD_IMXOTP
#include <imx_otp.h>
@@ -28,7 +30,7 @@
unsigned int fsl_system_rev;
-#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) || defined(CONFIG_MX6SOLO)
+#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL)
/*
* Set fsl_system_rev:
* bit 0-7: Chip Revision ID