summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx6/sys_proto.h
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-03-23 04:49:51 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:02:00 +0800
commite52f776b03b46fc3b3c2c16c0455a2c1e7f67238 (patch)
tree971c7c469509cc15bc7d510d73ed45fecece3ecf /arch/arm/include/asm/arch-mx6/sys_proto.h
parenta68c85b315cd37b183fd9c4311e9098fa0d1be82 (diff)
downloadu-boot-imx-e52f776b03b46fc3b3c2c16c0455a2c1e7f67238.zip
u-boot-imx-e52f776b03b46fc3b3c2c16c0455a2c1e7f67238.tar.gz
u-boot-imx-e52f776b03b46fc3b3c2c16c0455a2c1e7f67238.tar.bz2
MLK-10448-1 mx6: Add MX6DQP CPU rev type
Add new cpu type for i.MX6DQP and providing a dynamical detecting function. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit ccf3b130d71cf3dd9a97d3bb424931bf6bd7e8c0)
Diffstat (limited to 'arch/arm/include/asm/arch-mx6/sys_proto.h')
-rw-r--r--arch/arm/include/asm/arch-mx6/sys_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h
index 2fcdd63..a2768d1 100644
--- a/arch/arm/include/asm/arch-mx6/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx6/sys_proto.h
@@ -2,6 +2,8 @@
* (C) Copyright 2009
* Stefano Babic, DENX Software Engineering, sbabic@denx.de.
*
+ * (C) Copyright 2009-2015 Freescale Semiconductor, Inc.
+ *
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -43,6 +45,9 @@ int arch_auxiliary_core_up(u32 core_id, u32 boot_private_data);
int arch_auxiliary_core_check_up(u32 core_id);
#endif
+#define is_mx6dqp() ((is_cpu_type(MXC_CPU_MX6Q) || is_cpu_type(MXC_CPU_MX6D)) \
+ && (is_soc_rev(CHIP_REV_2_0) >= 0))
+
/*
* Initializes on-chip ethernet controllers.
* to override, implement board_eth_init()