summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorFugang Duan <B38611@freescale.com>2012-03-30 19:07:05 +0800
committerJustin Waters <justin.waters@timesys.com>2012-09-05 14:58:08 -0400
commite2cdd4bd10125631531223cf280587510d638ce3 (patch)
tree9cc0abcc8527e91e9f7fe83df3b2f1420d5b6667 /board
parent9e4caa038762a26b5d0778d9591a4bfd784aa656 (diff)
ENGR00176834-4 - [imx]:add macro define to include chip head file
- Different chip will include different head file, so add macro define to limit the use range. Signed-off-by: Fugang Duan <B38611@freescale.com>
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 9fdabac6e5..26f9f1786b 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