summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 14:45:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 14:45:28 +0000
commit364d75b6bda08b59dcdc2cc352f81a053ff2c5b1 (patch)
tree5172cf10432af707f631fc63c0f604998bf7fde1 /c/src/lib/libbsp/sh/gensh4/startup/bspstart.c
parent2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-364d75b6bda08b59dcdc2cc352f81a053ff2c5b1.tar.bz2
2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add bspopts.h; Add CPU_CLOCK_RATE_HZ. * startup/bspstart.c: Replace HZ with CPU_CLOCK_RATE_HZ. * include/.cvsignore: Add stamp-h*, bspopts.h*. * include/bsp.h: Add bspopts.h.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sh/gensh4/startup/bspstart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c
index 05788892cb..08b1cc320a 100644
--- a/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c
@@ -49,7 +49,7 @@ char *rtems_progname;
/*
* This variable is nesessary for console driver.
*/
-unsigned32 SH4_CPU_HZ_Frequency = HZ;
+unsigned32 SH4_CPU_HZ_Frequency = CPU_CLOCK_RATE_HZ;
/*
* Use the shared implementations of the following routines
@@ -142,5 +142,5 @@ void bsp_start(void)
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
#endif
- Cpu_table.clicks_per_second = HZ ;
+ Cpu_table.clicks_per_second = CPU_CLOCK_RATE_HZ ;
}