~ubuntu-branches/ubuntu/saucy/u-boot/saucy

« back to all changes in this revision

Viewing changes to arch/arm/cpu/ixp/cpu.c

  • Committer: Bazaar Package Importer
  • Author(s): Clint Adams
  • Date: 2011-07-24 09:35:32 UTC
  • mfrom: (16.1.16 sid)
  • Revision ID: james.westby@ubuntu.com-20110724093532-8gkkvtczkjagf4gv
Tags: 2011.06-3
Add DreamPlug support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include <asm/arch/ixp425.h>
37
37
#include <asm/system.h>
38
38
 
39
 
ulong loops_per_jiffy;
40
 
 
41
39
static void cache_flush(void);
42
40
 
43
41
#if defined(CONFIG_DISPLAY_CPUINFO)
51
49
        puts("CPU:   Intel IXP425 at ");
52
50
        switch ((id & 0x000003f0) >> 4) {
53
51
        case 0x1c:
54
 
                loops_per_jiffy = 887467;
55
52
                speed = 533;
56
53
                break;
57
54
 
58
55
        case 0x1d:
59
 
                loops_per_jiffy = 666016;
60
56
                speed = 400;
61
57
                break;
62
58
 
63
59
        case 0x1f:
64
 
                loops_per_jiffy = 442901;
65
60
                speed = 266;
66
61
                break;
67
62
        }