diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-03-30 13:01:09 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-03-30 14:16:15 +0800 |
commit | d860559f7913f16f7cb248f7b44140e8c1aa3ee9 (patch) | |
tree | f6c0c18db1431a31fb076988d804294e24ab796a /arch | |
parent | 64b2be69835af80e0dbc151175617942683a3167 (diff) | |
download | u-boot-imx-d860559f7913f16f7cb248f7b44140e8c1aa3ee9.zip u-boot-imx-d860559f7913f16f7cb248f7b44140e8c1aa3ee9.tar.gz u-boot-imx-d860559f7913f16f7cb248f7b44140e8c1aa3ee9.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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/imx-common/cpu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index d95bd36..bf8d500 100644 --- a/arch/arm/imx-common/cpu.c +++ b/arch/arm/imx-common/cpu.c @@ -155,6 +155,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), @@ -162,7 +163,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, |