diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-07-11 03:38:42 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-08-02 08:42:48 (GMT) |
commit | d0acd99334a74b345429ab81b2039e2b4ede7208 (patch) | |
tree | 89589f524a016d6ab9e82ced2660b777b62d76d9 /arch/arm/imx-common/cpu.c | |
parent | 5b94ce2c343074c20a6c61f48175e2b543692d37 (diff) | |
download | u-boot-d0acd99334a74b345429ab81b2039e2b4ede7208.tar.xz |
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/imx-common/cpu.c')
-rw-r--r-- | arch/arm/imx-common/cpu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index 5e56cfe..096d22e 100644 --- a/arch/arm/imx-common/cpu.c +++ b/arch/arm/imx-common/cpu.c @@ -122,6 +122,10 @@ unsigned imx_ddr_size(void) const char *get_imx_type(u32 imxtype) { switch (imxtype) { + case MXC_CPU_MX6QP: + return "6QP"; /* Quad-Plus version of the mx6 */ + case MXC_CPU_MX6DP: + return "6DP"; /* Dual-Plus version of the mx6 */ case MXC_CPU_MX6Q: return "6Q"; /* Quad-core version of the mx6 */ case MXC_CPU_MX6D: |