diff options
author | Tom Rini <trini@konsulko.com> | 2015-09-02 10:39:28 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-02 10:39:28 -0400 |
commit | 0ffadab1b9ab59816a0f71c927604bb6c402d863 (patch) | |
tree | 8338cea40ce53158387da4f708b09487cdebeaf9 /arch/arm/cpu/arm926ejs/mx27 | |
parent | 6923b069bd50b3ac519b16b6ae6aabbd2984c391 (diff) | |
parent | 37cf215253a488ba6b903989b1eff072f59d266e (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mx27')
-rw-r--r-- | arch/arm/cpu/arm926ejs/mx27/generic.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c b/arch/arm/cpu/arm926ejs/mx27/generic.c index 5ee9f07d87..b713c84519 100644 --- a/arch/arm/cpu/arm926ejs/mx27/generic.c +++ b/arch/arm/cpu/arm926ejs/mx27/generic.c @@ -12,6 +12,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> #include <asm/arch/gpio.h> +#include <asm/imx-common/sys_proto.h> #ifdef CONFIG_MXC_MMC #include <asm/arch/mxcmmc.h> #endif @@ -159,6 +160,11 @@ unsigned int mxc_get_clock(enum mxc_clock clk) } +u32 get_cpu_rev(void) +{ + return MXC_CPU_MX27 << 12; +} + #if defined(CONFIG_DISPLAY_CPUINFO) int print_cpuinfo (void) { |