diff options
author | Michael Schwingen <michael@schwingen.org> | 2011-05-23 00:00:00 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-06-23 08:24:55 +0200 |
commit | ce04bb41a60b87236ff5294a7508ebb5afc014e4 (patch) | |
tree | 283dab38709b0618948f5bc975487dcd28cff76b /arch/arm/cpu/ixp/cpu.c | |
parent | 009e464802569bc97c03c52f76fdf7e38040b634 (diff) |
Fix IXP code to work after relocation was added
- jump to real flash location after reset before turning off flash mirror
- fix timer system to use HZ == 1000, remove broken interrupt-based code
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Diffstat (limited to 'arch/arm/cpu/ixp/cpu.c')
-rw-r--r-- | arch/arm/cpu/ixp/cpu.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/cpu/ixp/cpu.c b/arch/arm/cpu/ixp/cpu.c index ce275e5f3c..942845d544 100644 --- a/arch/arm/cpu/ixp/cpu.c +++ b/arch/arm/cpu/ixp/cpu.c @@ -36,8 +36,6 @@ #include <asm/arch/ixp425.h> #include <asm/system.h> -ulong loops_per_jiffy; - static void cache_flush(void); #if defined(CONFIG_DISPLAY_CPUINFO) @@ -51,17 +49,14 @@ int print_cpuinfo (void) puts("CPU: Intel IXP425 at "); switch ((id & 0x000003f0) >> 4) { case 0x1c: - loops_per_jiffy = 887467; speed = 533; break; case 0x1d: - loops_per_jiffy = 666016; speed = 400; break; case 0x1f: - loops_per_jiffy = 442901; speed = 266; break; } |