diff options
author | Joakim Axelsson <joakim.axelsson@stericsson.com> | 2010-10-25 10:56:38 +0200 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-12-08 16:19:53 +0100 |
commit | af78cad05fbf943619f6446b12203552b02aba11 (patch) | |
tree | daa496a29b972347f3a55e04c0d1acc36e2f37aa /include | |
parent | 0257e280fdf5861b8e9d625df517a938c2531a95 (diff) |
db8500: Display cpu info.
Enable CONFIG_DISPLAY_CPUINFO and implement print_cpuinfo() in
cpu/arm_cortexa9/db8500.c.
ST-Ericsson ID: None
Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com>
Change-Id: Id4f67b223fabc4a8007229f8db12bd2a7362f8c2
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7115
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-db8500/clock.h | 3 | ||||
-rw-r--r-- | include/configs/u8500.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/arch-db8500/clock.h b/include/asm-arm/arch-db8500/clock.h index b82dfb86d..76d35eb86 100644 --- a/include/asm-arm/arch-db8500/clock.h +++ b/include/asm-arm/arch-db8500/clock.h @@ -73,4 +73,7 @@ void db8500_clocks_init(void); /* Legacy function to allow drivers to enable their clock */ void u8500_clock_enable(int periph, int cluster, int kern); +/* Function to get the clock speed of ARM cpu */ +u32 db8500_clock_cpu_khz(void); + #endif /* __ASM_ARCH_CLOCK */ diff --git a/include/configs/u8500.h b/include/configs/u8500.h index 797e1e555..7a0284c0b 100644 --- a/include/configs/u8500.h +++ b/include/configs/u8500.h @@ -39,6 +39,8 @@ /* run arch_cpu_init() of arm_cortexa9/db8500/cpu.c before board_init() */ #define CONFIG_ARCH_CPU_INIT 1 +#define CONFIG_DISPLAY_CPUINFO 1 + #define BOARD_LATE_INIT 1 /*----------------------------------------------------------------------- |