summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-mx6
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-07-11 11:38:42 +0800
committerStefano Babic <sbabic@denx.de>2015-08-02 10:42:48 +0200
commitd0acd99334a74b345429ab81b2039e2b4ede7208 (patch)
tree89589f524a016d6ab9e82ced2660b777b62d76d9 /arch/arm/include/asm/arch-mx6
parent5b94ce2c343074c20a6c61f48175e2b543692d37 (diff)
downloadtalos-obmc-uboot-d0acd99334a74b345429ab81b2039e2b4ede7208.tar.gz
talos-obmc-uboot-d0acd99334a74b345429ab81b2039e2b4ede7208.zip
imx: add cpu type for i.MX6QP/DP
Add cpu type for i.MX6QP/DP. This patch also fix is_mx6dqp(), since get_cpu_rev can return MXC_CPU_MX6QP and MXC_CPU_MX6DP, we should use: (is_cpu_type(MXC_CPU_MX6QP) || is_cpu_type(MXC_CPU_MX6DP)). Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6')
-rw-r--r--arch/arm/include/asm/arch-mx6/sys_proto.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h
index 28c77a498e..eee8ca8af7 100644
--- a/arch/arm/include/asm/arch-mx6/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx6/sys_proto.h
@@ -30,9 +30,7 @@ const char *get_imx_type(u32 imxtype);
unsigned imx_ddr_size(void);
void set_chipselect_size(int const);
-#define is_mx6dqp() ((is_cpu_type(MXC_CPU_MX6Q) || \
- is_cpu_type(MXC_CPU_MX6D)) && \
- (soc_rev() >= CHIP_REV_2_0))
+#define is_mx6dqp() (is_cpu_type(MXC_CPU_MX6QP) || is_cpu_type(MXC_CPU_MX6DP))
/*
* Initializes on-chip ethernet controllers.
OpenPOWER on IntegriCloud