summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-03-30 13:01:09 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:05:29 +0800
commite2c7345dc0646aa697bdba53d2e9ea19e27b2599 (patch)
tree169503aed83943893e8db20bfab679fcf6e8e0ac
parent6510bb60f64c793230494c9242a8508165fba921 (diff)
downloadu-boot-imx-e2c7345dc0646aa697bdba53d2e9ea19e27b2599.zip
u-boot-imx-e2c7345dc0646aa697bdba53d2e9ea19e27b2599.tar.gz
u-boot-imx-e2c7345dc0646aa697bdba53d2e9ea19e27b2599.tar.bz2
MLK-10503 imx:mx6qp add missed macro
is_mx6dqp should be only applied for MX6 Signed-off-by: Peng Fan <Peng.Fan@freescale.com> (cherry picked from commit d860559f7913f16f7cb248f7b44140e8c1aa3ee9)
-rw-r--r--arch/arm/imx-common/cpu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c
index 74c08d7..7d0e5c0 100644
--- a/arch/arm/imx-common/cpu.c
+++ b/arch/arm/imx-common/cpu.c
@@ -175,6 +175,7 @@ int print_cpuinfo(void)
cpurev = get_cpu_rev();
+#if defined(CONFIG_MX6)
if (is_mx6dqp()) {
printf("CPU: Freescale i.MX%sP rev%d.%d at %d MHz\n",
get_imx_type((cpurev & 0xFF000) >> 12),
@@ -182,7 +183,9 @@ int print_cpuinfo(void)
(cpurev & 0x0000F) >> 0,
mxc_get_clock(MXC_ARM_CLK) / 1000000);
- } else {
+ } else
+#endif
+ {
printf("CPU: Freescale i.MX%s rev%d.%d at %d MHz\n",
get_imx_type((cpurev & 0xFF000) >> 12),
(cpurev & 0x000F0) >> 4,