diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:02:02 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:02:02 +0200 |
commit | 0cdad3e3370c84896cdd5f18a8d7446ad870941e (patch) | |
tree | f79d2771299a8d4d10c95fa6207d3afdd4d187df /cpu | |
parent | db17619e355d1428554436079e89e76d67b6ed26 (diff) | |
download | barebox-0cdad3e3370c84896cdd5f18a8d7446ad870941e.tar.gz barebox-0cdad3e3370c84896cdd5f18a8d7446ad870941e.tar.xz |
svn_rev_528
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mpc5xxx/interrupts.c | 2 | ||||
-rw-r--r-- | cpu/mpc5xxx/start.S | 3 | ||||
-rw-r--r-- | cpu/mpc8220/start.S | 2 | ||||
-rw-r--r-- | cpu/mpc824x/start.S | 2 | ||||
-rw-r--r-- | cpu/mpc8260/kgdb.S | 1 | ||||
-rw-r--r-- | cpu/mpc8260/start.S | 1 | ||||
-rw-r--r-- | cpu/mpc83xx/start.S | 1 | ||||
-rw-r--r-- | cpu/mpc85xx/start.S | 2 | ||||
-rw-r--r-- | cpu/mpc8xx/kgdb.S | 1 | ||||
-rw-r--r-- | cpu/ppc4xx/dcr.S | 2 | ||||
-rw-r--r-- | cpu/ppc4xx/kgdb.S | 1 | ||||
-rw-r--r-- | cpu/ppc4xx/start.S | 2 |
12 files changed, 1 insertions, 19 deletions
diff --git a/cpu/mpc5xxx/interrupts.c b/cpu/mpc5xxx/interrupts.c index 863d353eea..beb9eea7a3 100644 --- a/cpu/mpc5xxx/interrupts.c +++ b/cpu/mpc5xxx/interrupts.c @@ -231,7 +231,7 @@ int mpc5xxx_get_irq(struct pt_regs *regs) int interrupt_init_cpu(ulong * decrementer_count) { - *decrementer_count = get_tbclk() / CFG_HZ; + *decrementer_count = get_tbclk() / 1000; mpc5xxx_init_irq(); diff --git a/cpu/mpc5xxx/start.S b/cpu/mpc5xxx/start.S index 4e068ee50d..92246f3e7f 100644 --- a/cpu/mpc5xxx/start.S +++ b/cpu/mpc5xxx/start.S @@ -29,9 +29,6 @@ #include <mpc5xxx.h> #include <version.h> -#define CONFIG_MPC5xxx 1 /* needed for Linux kernel header files */ -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ - #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/mpc8220/start.S b/cpu/mpc8220/start.S index 9d107c7db8..966b32ef10 100644 --- a/cpu/mpc8220/start.S +++ b/cpu/mpc8220/start.S @@ -29,8 +29,6 @@ #include <mpc8220.h> #include <version.h> -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ - #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/mpc824x/start.S b/cpu/mpc824x/start.S index 1ce8572152..3c89552b79 100644 --- a/cpu/mpc824x/start.S +++ b/cpu/mpc824x/start.S @@ -41,8 +41,6 @@ #include <mpc824x.h> #include <version.h> -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ - #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/mpc8260/kgdb.S b/cpu/mpc8260/kgdb.S index 04cc944369..15a8a58294 100644 --- a/cpu/mpc8260/kgdb.S +++ b/cpu/mpc8260/kgdb.S @@ -26,7 +26,6 @@ #include <version.h> #define CONFIG_8260 1 /* needed for Linux kernel header files */ -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/mpc8260/start.S b/cpu/mpc8260/start.S index 58d1731323..baaf8402fd 100644 --- a/cpu/mpc8260/start.S +++ b/cpu/mpc8260/start.S @@ -30,7 +30,6 @@ #include <version.h> #define CONFIG_8260 1 /* needed for Linux kernel header files */ -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/mpc83xx/start.S b/cpu/mpc83xx/start.S index f346d254cf..a6ceb7bf7b 100644 --- a/cpu/mpc83xx/start.S +++ b/cpu/mpc83xx/start.S @@ -32,7 +32,6 @@ #include <version.h> #define CONFIG_83XX 1 /* needed for Linux kernel header files*/ -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/mpc85xx/start.S b/cpu/mpc85xx/start.S index 5210a4dd38..222b31441a 100644 --- a/cpu/mpc85xx/start.S +++ b/cpu/mpc85xx/start.S @@ -33,8 +33,6 @@ #include <mpc85xx.h> #include <version.h> -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ - #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/mpc8xx/kgdb.S b/cpu/mpc8xx/kgdb.S index a660f90ccf..67c5ad292c 100644 --- a/cpu/mpc8xx/kgdb.S +++ b/cpu/mpc8xx/kgdb.S @@ -26,7 +26,6 @@ #include <version.h> #define CONFIG_8xx 1 /* needed for Linux kernel header files */ -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/ppc4xx/dcr.S b/cpu/ppc4xx/dcr.S index 7102364ebd..0b38aec8ca 100644 --- a/cpu/ppc4xx/dcr.S +++ b/cpu/ppc4xx/dcr.S @@ -26,8 +26,6 @@ #include <ppc4xx.h> -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ - #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/ppc4xx/kgdb.S b/cpu/ppc4xx/kgdb.S index b5962d2ea6..73c265dbe5 100644 --- a/cpu/ppc4xx/kgdb.S +++ b/cpu/ppc4xx/kgdb.S @@ -26,7 +26,6 @@ #include <version.h> #define CONFIG_405GP 1 /* needed for Linux kernel header files */ -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ #include <ppc_asm.tmpl> #include <ppc_defs.h> diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S index e93a8138f6..2bc36a0b55 100644 --- a/cpu/ppc4xx/start.S +++ b/cpu/ppc4xx/start.S @@ -62,8 +62,6 @@ #include <ppc4xx.h> #include <version.h> -#define _LINUX_CONFIG_H 1 /* avoid reading Linux autoconf.h file */ - #include <ppc_asm.tmpl> #include <ppc_defs.h> |