From af78cad05fbf943619f6446b12203552b02aba11 Mon Sep 17 00:00:00 2001 From: Joakim Axelsson Date: Mon, 25 Oct 2010 10:56:38 +0200 Subject: 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 Change-Id: Id4f67b223fabc4a8007229f8db12bd2a7362f8c2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7115 Reviewed-by: QATOOLS Reviewed-by: Michael BRANDT Tested-by: Michael BRANDT --- include/asm-arm/arch-db8500/clock.h | 3 +++ include/configs/u8500.h | 2 ++ 2 files changed, 5 insertions(+) (limited to 'include') 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 /*----------------------------------------------------------------------- -- cgit v1.2.3